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:
parent
b048260f0a
commit
cc099ba546
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=386570
1 changed files with 2 additions and 1 deletions
|
@ -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\\\"" \
|
||||
|
|
Loading…
Reference in a new issue