aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2009-10-18 07:18:33 +0800
committerache <ache@FreeBSD.org>2009-10-18 07:18:33 +0800
commit6837cad787dbae6cfb4494c19f40c8086db7e1b4 (patch)
treeb6e1e4920e99492b5c676f4fd2db096601089b59 /mail
parentfc8208523639d6801bd7679139ec1af4e3cec2c9 (diff)
downloadfreebsd-ports-gnome-6837cad787dbae6cfb4494c19f40c8086db7e1b4.tar.gz
freebsd-ports-gnome-6837cad787dbae6cfb4494c19f40c8086db7e1b4.tar.zst
freebsd-ports-gnome-6837cad787dbae6cfb4494c19f40c8086db7e1b4.zip
Add SENDMAIL_LDFLAGS and SENDMAIL_LDADD for sendmail case
Submitted by: Gerhard Schmidt <estartu@augusta.de> (with small mod)
Diffstat (limited to 'mail')
-rw-r--r--mail/milter-greylist/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/mail/milter-greylist/Makefile b/mail/milter-greylist/Makefile
index cdf6d2dcd7f4..f7950d352e69 100644
--- a/mail/milter-greylist/Makefile
+++ b/mail/milter-greylist/Makefile
@@ -59,6 +59,9 @@ CONFIGURE_ARGS+= --with-libcurl=${LOCALBASE}
.endif
.if defined(WITH_POSTFIX)
CONFIGURE_ARGS+= --enable-postfix
+.else
+LDFLAGS+= ${SENDMAIL_LDFLAGS}
+LIBS+= ${SENDMAIL_LDADD}
.endif
RUN_DEPENDS+= ${BUILD_DEPENDS}