diff options
-rw-r--r-- | www/webresolve/Makefile | 4 | ||||
-rw-r--r-- | www/webresolve/files/patch-Makefile | 28 | ||||
-rw-r--r-- | www/webresolve/files/patch-webresolve.c | 13 |
3 files changed, 41 insertions, 4 deletions
diff --git a/www/webresolve/Makefile b/www/webresolve/Makefile index 054434149dcb..6429d28663e2 100644 --- a/www/webresolve/Makefile +++ b/www/webresolve/Makefile @@ -13,9 +13,5 @@ MASTER_SITES= ftp://siag.nu/pub/webresolve/ MAINTAINER= joseph@randomnetworks.com ALL_TARGET= webresolve -MAKE_ARGS= PREFIX=${PREFIX} - -post-install: - @strip ${PREFIX}/bin/webresolve .include <bsd.port.mk> diff --git a/www/webresolve/files/patch-Makefile b/www/webresolve/files/patch-Makefile new file mode 100644 index 000000000000..510a5352b30a --- /dev/null +++ b/www/webresolve/files/patch-Makefile @@ -0,0 +1,28 @@ + +$FreeBSD$ + +--- Makefile 2001/03/14 14:45:39 1.1 ++++ Makefile 2001/03/14 14:46:41 +@@ -1,9 +1,9 @@ + + VERSION = 0.0.1 + +-CC = gcc +-CFLAGS = -Wall -g +-PREFIX = /usr/local ++CC ?= gcc ++CFLAGS += -Wall ++PREFIX ?= /usr/local + BINDIR = $(PREFIX)/bin + + webresolve: webresolve.c +@@ -17,7 +17,8 @@ + rm -rf webresolve-$(VERSION) + + install: webresolve +- cp webresolve splitwr $(BINDIR) ++ $(BSD_INSTALL_PROGRAM) webresolve $(BINDIR) ++ $(BSD_INSTALL_SCRIPT) splitwr $(BINDIR) + + uninstall: + rm -f $(BINDIR)/webresolve $(BINDIR)/splitwr diff --git a/www/webresolve/files/patch-webresolve.c b/www/webresolve/files/patch-webresolve.c new file mode 100644 index 000000000000..f0fdd41ab812 --- /dev/null +++ b/www/webresolve/files/patch-webresolve.c @@ -0,0 +1,13 @@ + +$FreeBSD$ + +--- webresolve.c 2001/03/14 14:44:11 1.1 ++++ webresolve.c 2001/03/14 14:44:26 +@@ -24,6 +24,7 @@ + #include <string.h> + #include <ctype.h> + #include <netdb.h> ++#include <sys/types.h> + #include <sys/socket.h> + #include <netinet/in.h> + #include <arpa/inet.h> |