diff options
Diffstat (limited to 'www')
-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 0544341..6429d28 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 0000000..510a535 --- /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 0000000..f0fdd41 --- /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> |