summaryrefslogtreecommitdiff
path: root/www/webresolve/files
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/files
parentInstall ltlibs, necessary for normal libmcrypt functionality. (diff)
o Fix breakage (missed sys/types.h);
o respect CC/CFLAGS; o use ${BSD_INSTALL_*} masros to install binary and script; o make it PREFIX-clean. Submitted by: bento
Notes
Notes: svn path=/head/; revision=39831
Diffstat (limited to 'www/webresolve/files')
-rw-r--r--www/webresolve/files/patch-Makefile28
-rw-r--r--www/webresolve/files/patch-webresolve.c13
2 files changed, 41 insertions, 0 deletions
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>