aboutsummaryrefslogtreecommitdiffstats
path: root/mail/sendmail/Makefile
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2002-04-29 18:33:21 +0800
committerdinoex <dinoex@FreeBSD.org>2002-04-29 18:33:21 +0800
commitf441023e779cc38025a14728a7679245b527f35d (patch)
tree59b54022e647f479f57010e3047d54fecdaee2de /mail/sendmail/Makefile
parent0a26fc7617761f72bebdce0cb25b36b6733bcf82 (diff)
downloadfreebsd-ports-gnome-f441023e779cc38025a14728a7679245b527f35d.tar.gz
freebsd-ports-gnome-f441023e779cc38025a14728a7679245b527f35d.tar.zst
freebsd-ports-gnome-f441023e779cc38025a14728a7679245b527f35d.zip
Fix support for "site.config.m4.local",
so User-Options will be part of the build.
Diffstat (limited to 'mail/sendmail/Makefile')
-rw-r--r--mail/sendmail/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/mail/sendmail/Makefile b/mail/sendmail/Makefile
index 6e759aa41a97..1dbe583978d1 100644
--- a/mail/sendmail/Makefile
+++ b/mail/sendmail/Makefile
@@ -69,9 +69,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)
@@ -195,4 +192,10 @@ submit.cf:
SENDMAIL_CF_DIR=${PREFIX}/share/sendmail/cf \
SENDMAIL_MC=submit )
-.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>