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
This commit is contained in:
John Marino 2015-05-16 19:10:43 +00:00
parent b048260f0a
commit cc099ba546
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=386570

View file

@ -16,7 +16,8 @@ RUN_DEPENDS= bogofilter:${PORTSDIR}/mail/bogofilter
.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\\\"" \