aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mail/noattach/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/mail/noattach/Makefile b/mail/noattach/Makefile
index 8a7ec0924841..7da16ebe78f3 100644
--- a/mail/noattach/Makefile
+++ b/mail/noattach/Makefile
@@ -7,7 +7,7 @@
PORTNAME= noattach
PORTVERSION= 1.1.1
-PORTVREVISION= 1
+PORTVREVISION= 2
CATEGORIES= mail
MASTER_SITES= ftp://ftp.rhnet.is/pub/noattach/
DISTNAME= ${PORTNAME}-1.1p1
@@ -25,9 +25,13 @@ USE_REINPLACE= yes
MAN8= noattach.8
DOCSFILES= AUTHORS THANKS INSTALL NEWS README TODO ChangeLog
SAMPLEFILES= README noattach.patterns noattach.patterns.johncon
+CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}"
.if defined(SENDMAIL_WITH_LDAP)
CONFIGURE_ARGS+= --enable-ldap
.endif
+.if !defined(SENDMAIL_MILTER_IN_BASE)
+LDFLAGS+= -L${LOCALBASE}/lib
+.endif
.include <bsd.port.pre.mk>