aboutsummaryrefslogtreecommitdiff
path: root/mail/noattach
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2003-10-29 03:11:13 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2003-10-29 03:11:13 +0000
commit921aa65edff3b94ae2c19171431d228762d68727 (patch)
treed69f7deb89d26c382ba2ed67b0e6b059c9d62fc4 /mail/noattach
parent674f825a1f587282d483a50f1499999417c375e9 (diff)
downloadports-921aa65edff3b94ae2c19171431d228762d68727.tar.gz
ports-921aa65edff3b94ae2c19171431d228762d68727.zip
- honor given LDFLAGS
- make sure it links with the latest libmilter.a by default.
Notes
Notes: svn path=/head/; revision=92514
Diffstat (limited to 'mail/noattach')
-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>