aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2003-10-29 11:11:13 +0800
committerdinoex <dinoex@FreeBSD.org>2003-10-29 11:11:13 +0800
commit4b8ce60c28e8c84ff0658d548a9c14705667e9fc (patch)
treedd8bfe6568829350eb8b7789677fdc58e9b03397
parent1beaea08ea236a92774d29ddf4144f693d4d612a (diff)
downloadfreebsd-ports-gnome-4b8ce60c28e8c84ff0658d548a9c14705667e9fc.tar.gz
freebsd-ports-gnome-4b8ce60c28e8c84ff0658d548a9c14705667e9fc.tar.zst
freebsd-ports-gnome-4b8ce60c28e8c84ff0658d548a9c14705667e9fc.zip
- honor given LDFLAGS
- make sure it links with the latest libmilter.a by default.
-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>