summaryrefslogtreecommitdiff
path: root/net/relayd/files/patch-ctl-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/relayd/files/patch-ctl-Makefile')
-rw-r--r--net/relayd/files/patch-ctl-Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/net/relayd/files/patch-ctl-Makefile b/net/relayd/files/patch-ctl-Makefile
new file mode 100644
index 000000000000..686d1a5c1906
--- /dev/null
+++ b/net/relayd/files/patch-ctl-Makefile
@@ -0,0 +1,20 @@
+--- relayctl/Makefile.orig Tue Jan 9 09:45:32 2007
++++ relayctl/Makefile Wed Jun 6 18:58:57 2007
+@@ -8,9 +8,16 @@
+ MAN= relayctl.8
+
+ CFLAGS+= -Wall -Werror -I${.CURDIR} -I${.CURDIR}/../relayd
++CFLAGS+= -I${PREFIX}/include -D__dead=''
+ CFLAGS+= -Wstrict-prototypes -Wmissing-prototypes
+ CFLAGS+= -Wmissing-declarations
+ CFLAGS+= -Wshadow -Wpointer-arith -Wcast-qual
+-CFLAGS+= -Wsign-compare -Wbounded
++CFLAGS+= -Wsign-compare
++
++install:
++ $(INSTALL) -m 555 -g wheel -o root relayctl $(PREFIX)/sbin
++
++install-man:
++ $(INSTALL) -o root -g wheel -m 444 relayctl.8 $(PREFIX)/man/man8
+
+ .include <bsd.prog.mk>