aboutsummaryrefslogtreecommitdiffstats
path: root/mail/milter-bogom/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mail/milter-bogom/Makefile')
-rw-r--r--mail/milter-bogom/Makefile3
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\\\"" \