$NetBSD: patch-Makefile,v 1.2 2024/07/30 08:10:19 wiz Exp $ -static does not work on macOS, and there is no reason why this needs to be static. --- Makefile.orig 2024-02-17 09:51:31.000000000 +0000 +++ Makefile @@ -1,7 +1,6 @@ VERSION=1.11.3 CFLAGS?=-g MAINFLAGS:=-DVERSION='"$(VERSION)"' -Wall -Wextra -Werror -Wno-unused-parameter -LDFLAGS+=-static INCLUDE+=-Iinclude PREFIX?=/usr/local BINDIR?=$(PREFIX)/bin