aboutsummaryrefslogtreecommitdiff
path: root/www/webresolve
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2001-03-14 15:05:24 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2001-03-14 15:05:24 +0000
commitb21eb52ba924ee0f15a10effc4fb4021a19a3a91 (patch)
treeb243ab8eb5904fd931a14695d2d58f7deba5fe95 /www/webresolve
parentd547e642b780df998a24c562a22d5f27d4512796 (diff)
downloadports-b21eb52ba924ee0f15a10effc4fb4021a19a3a91.tar.gz
ports-b21eb52ba924ee0f15a10effc4fb4021a19a3a91.zip
Notes
Diffstat (limited to 'www/webresolve')
-rw-r--r--www/webresolve/Makefile4
-rw-r--r--www/webresolve/files/patch-Makefile28
-rw-r--r--www/webresolve/files/patch-webresolve.c13
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>