svn commit: r386570 - head/mail/milter-bogom
John Marino
marino at FreeBSD.org
Sat May 16 19:10:44 UTC 2015
Author: marino
Date: Sat May 16 19:10:43 2015
New Revision: 386570
URL: https://svnweb.freebsd.org/changeset/ports/386570
Log:
mail/milter-bogom: Fix build on systems without base sendmail
There was an attempt to support ports sendmail made, but the attempt
didn't work. Well, it accidently worked because the compilers looked
for headers and libraries at LOCALBASE/include and LOCALBASE/lib so
the bad LDFLAGS value was ignored. Fix ports-sendmail LDFLAGS and
explicitly set -I so milter-bogom builds on all compilers.
Approved by: just fix it
Modified:
head/mail/milter-bogom/Makefile
Modified: head/mail/milter-bogom/Makefile
==============================================================================
--- head/mail/milter-bogom/Makefile Sat May 16 18:45:43 2015 (r386569)
+++ head/mail/milter-bogom/Makefile Sat May 16 19:10:43 2015 (r386570)
@@ -16,7 +16,8 @@ RUN_DEPENDS= bogofilter:${PORTSDIR}/mail
.if !exists(/usr/lib/libmilter.so)
LIB_DEPENDS= libmilter.so:${PORTSDIR}/mail/sendmail
-LDFLAGS+= -I${LOCALBASE}/include
+LDFLAGS+= -L${LOCALBASE}/lib
+CFLAGS+= -I${LOCALBASE}/include
.endif
MAKE_ARGS= CPPFLAGS="-DDEF_CONF=\\\"${PREFIX}/etc/bogom.conf\\\"" \
More information about the svn-ports-all
mailing list