diff options
author | marino <marino@FreeBSD.org> | 2015-05-17 03:10:43 +0800 |
---|---|---|
committer | marino <marino@FreeBSD.org> | 2015-05-17 03:10:43 +0800 |
commit | d52e6590d104506d54a6e3e6b1ce756962a3db2f (patch) | |
tree | c4ff89ccf6f4af5b41d245d65e6eeb58fc30b717 /mail | |
parent | b8f8bff4d41273e097b2374d4626858e45b731e3 (diff) | |
download | freebsd-ports-gnome-d52e6590d104506d54a6e3e6b1ce756962a3db2f.tar.gz freebsd-ports-gnome-d52e6590d104506d54a6e3e6b1ce756962a3db2f.tar.zst freebsd-ports-gnome-d52e6590d104506d54a6e3e6b1ce756962a3db2f.zip |
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
Diffstat (limited to 'mail')
-rw-r--r-- | mail/milter-bogom/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mail/milter-bogom/Makefile b/mail/milter-bogom/Makefile index 0d97a755f68a..3310eddfe5a9 100644 --- a/mail/milter-bogom/Makefile +++ b/mail/milter-bogom/Makefile @@ -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\\\"" \ |