aboutsummaryrefslogtreecommitdiff
path: root/mail/rbl-milter/Makefile
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2007-01-13 04:16:24 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2007-01-13 04:16:24 +0000
commit66990815ac942616d3c741b102bba56adfdfdae6 (patch)
tree95655a615678503ef67bae5d282efbfe59ccfd02 /mail/rbl-milter/Makefile
parentd7f59ea8de230bb289b02649cd575560e4c71e0d (diff)
downloadports-66990815ac942616d3c741b102bba56adfdfdae6.tar.gz
ports-66990815ac942616d3c741b102bba56adfdfdae6.zip
Notes
Diffstat (limited to 'mail/rbl-milter/Makefile')
-rw-r--r--mail/rbl-milter/Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/mail/rbl-milter/Makefile b/mail/rbl-milter/Makefile
index 44d4880d5337..82c620939638 100644
--- a/mail/rbl-milter/Makefile
+++ b/mail/rbl-milter/Makefile
@@ -19,8 +19,6 @@ GNU_CONFIGURE= yes
USE_GMAKE= yes
CONFIGURE_ENV+= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" PTHREAD_LIBS="${PTHREAD_LIBS}"
-CONFIGURE_ARGS= --with-sendmail=/usr \
- --with-sendmail-obj=/usr/lib
PLIST_FILES= sbin/rbl-milter etc/rc.d/rbl-milter.sh
@@ -35,4 +33,11 @@ post-install:
${PREFIX}/etc/rc.d/rbl-milter.sh
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.include "${PORTSDIR}/mail/sendmail/bsd.milter.mk"
+
+CONFIGURE_ARGS+= --with-sendmail=${MILTERBASE} \
+ --with-sendmail-obj=${MILTERBASE}/lib
+
+.include <bsd.port.post.mk>