1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00
freebsd-ports/mail/spamd/files/patch-makefile
Martin Wilke a29062c6d6 - Fix build with FreeBSD 5.X
PR:		113966
Submitted by:	Alex Samorukov <samm@os2.kiev.ua> (maintainer)
2007-06-24 09:15:03 +00:00

14 lines
341 B
Plaintext

--- spamlogd/Makefile.old Mon Apr 2 01:33:46 2007
+++ spamlogd/Makefile Sat Jun 23 15:29:03 2007
@@ -4,6 +4,10 @@
SRCS= spamlogd.c sync.c
MAN= spamlogd.8
+.if ${OSVERSION} < 601000
+SRCS+= ../spamd/strtonum.c
+.endif
+
CFLAGS+= -Wall -Wstrict-prototypes -I${.CURDIR}/../spamd
LDADD+= -lpcap -lcrypto -lmd
DPADD+= ${LIBPCAP} ${LIBMD}