summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2008-03-17 15:13:32 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2008-03-17 15:13:32 +0000
commite2f15f0c25909e7dafb88971aadd445f0cacd043 (patch)
tree8886b1e68b3eb3b305fb6939f76614b45aa12608 /mail
parentGet rid of USE_X_PREFIX. (diff)
- new options WITHOUT_MILTER_CFLAGS, WITHOUT_MILTER_LDFLAGS
PR: 121529
Notes
Notes: svn path=/head/; revision=209210
Diffstat (limited to 'mail')
-rw-r--r--mail/sendmail/bsd.milter.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/mail/sendmail/bsd.milter.mk b/mail/sendmail/bsd.milter.mk
index 55e31907543f..d026c729e622 100644
--- a/mail/sendmail/bsd.milter.mk
+++ b/mail/sendmail/bsd.milter.mk
@@ -67,11 +67,13 @@ MILTERINC= -I${MILTERBASE}/include
MILTERRPATH= ${MILTERBASE}/lib
MILTERLIB= -L${MILTERBASE}/lib -rpath=${MILTERRPATH}
+.if !defined(WITHOUT_MILTER_CFLAGS)
.if defined(CFLAGS)
CFLAGS+=${MILTERINC}
.else
CFLAGS=${MILTERINC}
.endif
+.endif
.if defined(SENDMAIL_WITHOUT_MILTER)
@@ -90,11 +92,13 @@ MILTERRPATH= ${DESTDIR}/usr/lib:${LOCALBASE}/lib
MILTERLIB= -rpath=${MILTERRPATH}
.endif
+.if !defined(WITHOUT_MILTER_LDFLAGS)
.if defined(LDFLAGS)
LDFLAGS+=${MILTERLIB}
.else
LDFLAGS=${MILTERLIB}
.endif
+.endif
CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}"
MAKE_ENV+= LDFLAGS="${LDFLAGS}"