aboutsummaryrefslogtreecommitdiffstats
path: root/mail
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
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')
-rw-r--r--mail/sendmail-old/Makefile11
-rw-r--r--mail/sendmail/Makefile11
-rw-r--r--mail/sendmail811/Makefile11
-rw-r--r--mail/sendmail812/Makefile11
4 files changed, 28 insertions, 16 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>
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>
diff --git a/mail/sendmail811/Makefile b/mail/sendmail811/Makefile
index ce7207f047e4..d4164fcd73f8 100644
--- a/mail/sendmail811/Makefile
+++ b/mail/sendmail811/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>
diff --git a/mail/sendmail812/Makefile b/mail/sendmail812/Makefile
index 6e759aa41a97..1dbe583978d1 100644
--- a/mail/sendmail812/Makefile
+++ b/mail/sendmail812/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>