summaryrefslogtreecommitdiff
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
parent- Use PYTHON_CMD (diff)
Fix support for "site.config.m4.local",
so User-Options will be part of the build.
Notes
Notes: svn path=/head/; revision=58302
-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>