ports/net/httping/files/patch-Makefile
Emanuel Haupt 781504a56a net/httping: Update to 2.9
- Update to 2.9
- No longer support disabling SSL in late 2022
- Make NLS optional
- Convert to use OPTIONS helpers
- Pacify portclippy
- Reformat with portfmt
2022-11-12 12:14:59 +01:00

25 lines
519 B
Text

--- Makefile.orig 2022-10-29 19:34:27 UTC
+++ Makefile
@@ -32,11 +32,10 @@ TARGET=httping
LOCALEDIR=/usr/share/locale
-DEBUG=yes
-WFLAGS=-Wall -W -Wextra -pedantic -D_FORTIFY_SOURCE=2
+DEBUG?=no
OFLAGS=
CFLAGS+=$(WFLAGS) $(OFLAGS) -DVERSION=\"$(VERSION)\" -DLOCALEDIR=\"$(LOCALEDIR)\"
-LDFLAGS+=-lm
+LDFLAGS+=-lm -lintl
PACKAGE=$(TARGET)-$(VERSION)
PREFIX?=/usr
@@ -81,7 +80,7 @@ endif
ifeq ($(NC),yes)
CFLAGS+=-DNC
OBJS+=nc.o
-LDFLAGS+=-lncursesw
+LDFLAGS+=-lncursesw -ltinfow
endif
ifeq ($(FW),yes)