summaryrefslogtreecommitdiffstats
path: root/www/webresolve/files/patch-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/webresolve/files/patch-Makefile')
-rw-r--r--www/webresolve/files/patch-Makefile28
1 files changed, 28 insertions, 0 deletions
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
OpenPOWER on IntegriCloud