diff options
author | dinoex <dinoex@FreeBSD.org> | 2008-03-17 23:13:32 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2008-03-17 23:13:32 +0800 |
commit | f781742c9ef2ba4f9b4b27e3f3ca14050e0ca178 (patch) | |
tree | 22c9604180cac8933afad326413f9df0d6acff86 /mail/sendmail | |
parent | 3b60a2283912e10784bfb12515d571380ef2b3b3 (diff) | |
download | freebsd-ports-gnome-f781742c9ef2ba4f9b4b27e3f3ca14050e0ca178.tar.gz freebsd-ports-gnome-f781742c9ef2ba4f9b4b27e3f3ca14050e0ca178.tar.zst freebsd-ports-gnome-f781742c9ef2ba4f9b4b27e3f3ca14050e0ca178.zip |
- new options WITHOUT_MILTER_CFLAGS, WITHOUT_MILTER_LDFLAGS
PR: 121529
Diffstat (limited to 'mail/sendmail')
-rw-r--r-- | mail/sendmail/bsd.milter.mk | 4 |
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}" |