summaryrefslogtreecommitdiff
path: root/net/relayd/files/patch-d-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/relayd/files/patch-d-Makefile')
-rw-r--r--net/relayd/files/patch-d-Makefile26
1 files changed, 26 insertions, 0 deletions
diff --git a/net/relayd/files/patch-d-Makefile b/net/relayd/files/patch-d-Makefile
new file mode 100644
index 000000000000..a983bfebf003
--- /dev/null
+++ b/net/relayd/files/patch-d-Makefile
@@ -0,0 +1,26 @@
+--- relayd/Makefile.orig Tue Feb 27 04:35:43 2007
++++ relayd/Makefile Tue Jun 5 20:57:45 2007
+@@ -6,13 +6,20 @@
+ check_icmp.c check_tcp.c relay.c carp.c
+ MAN= relayd.8 relayd.conf.5
+
+-LDADD= -levent -lssl -lcrypto
++LDADD= -lmd -L${PREFIX}/lib -levent -lssl -lcrypto
+ DPADD= ${LIBEVENT} ${LIBSSL} ${LIBCRYPTO}
+-CFLAGS+= -Wall -I${.CURDIR}
++CFLAGS+= -Wall -I${.CURDIR} -I${PREFIX}/include -D__dead='' -DSHA1_DIGEST_LENGTH=SHA_DIGEST_LENGTH -DSHA1_DIGEST_STRING_LENGTH=SHA_DIGEST_LENGTH -DOPENSSL_NO_SHA -DOPENSSL_NO_MD5
+ CFLAGS+= -Wstrict-prototypes -Wmissing-prototypes
+ CFLAGS+= -Wmissing-declarations
+ CFLAGS+= -Wshadow -Wpointer-arith -Wcast-qual
+-CFLAGS+= -Wsign-compare -Wbounded
++CFLAGS+= -Wsign-compare
+ CLEANFILES+= y.tab.h
++
++install:
++ $(INSTALL) -m 555 -g wheel -o root relayd $(PREFIX)/sbin
++
++install-man:
++ $(INSTALL) -m 444 -g wheel -o root relayd.conf.5 $(PREFIX)/man/man5
++ $(INSTALL) -m 444 -g wheel -o root relayd.8 $(PREFIX)/man/man8
+
+ .include <bsd.prog.mk>