aboutsummaryrefslogtreecommitdiff
path: root/mail/sendmail-old
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2002-04-29 10:33:21 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2002-04-29 10:33:21 +0000
commit085b5c086167f0004c9d04a2e9366b12a3ccc0ae (patch)
tree4afc0ac1facb21cd7b96b0adbe27c473513edf9c /mail/sendmail-old
parent6f13d074386fa42dc747b39a747d30c797d5b0cd (diff)
downloadports-085b5c086167f0004c9d04a2e9366b12a3ccc0ae.tar.gz
ports-085b5c086167f0004c9d04a2e9366b12a3ccc0ae.zip
Fix support for "site.config.m4.local",
so User-Options will be part of the build.
Notes
Notes: svn path=/head/; revision=58302
Diffstat (limited to 'mail/sendmail-old')
-rw-r--r--mail/sendmail-old/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/mail/sendmail-old/Makefile b/mail/sendmail-old/Makefile
index ce7207f047e4..d4164fcd73f8 100644
--- a/mail/sendmail-old/Makefile
+++ b/mail/sendmail-old/Makefile
@@ -78,9 +78,6 @@ SITE+= ${FILESDIR}/site.config.m4.ldap
.if ! defined(SENDMAIL_WITHOUT_MILTER)
SITE+= ${FILESDIR}/site.config.m4.milter
.endif
-.if exists(${FILESDIR}/site.config.m4.local)
-SITE+= ${FILESDIR}/site.config.m4.local
-.endif
# install directly if no mailwrapper support
.if ! exists(${DESTDIR}/etc/mail/mailer.conf)
@@ -172,4 +169,10 @@ mailer.conf:
${DESTDIR}/etc/mail/mailer.conf
.endif
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if exists(${FILESDIR}/site.config.m4.local)
+SITE+= ${FILESDIR}/site.config.m4.local
+.endif
+
+.include <bsd.port.post.mk>