aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-03-25 06:45:38 +0800
committerpav <pav@FreeBSD.org>2004-03-25 06:45:38 +0800
commit5ab22a646809cf6d7cf6b8bc1cdb1f2a55ffd67e (patch)
treec76c0a7c7305d04218d7e5cecc2d581f047f3f2b /mail
parent7ab6ccc8591528c0d220aa1dbfcbeff88bbdf9d3 (diff)
downloadfreebsd-ports-gnome-5ab22a646809cf6d7cf6b8bc1cdb1f2a55ffd67e.tar.gz
freebsd-ports-gnome-5ab22a646809cf6d7cf6b8bc1cdb1f2a55ffd67e.tar.zst
freebsd-ports-gnome-5ab22a646809cf6d7cf6b8bc1cdb1f2a55ffd67e.zip
- Fix OPTIONS usage: WITH_* must be tested after <bsd.port.pre.mk>
PR: ports/64629 Submitted by: Shizuka Kudo <shizukakudo_99@yahoo.com>
Diffstat (limited to 'mail')
-rw-r--r--mail/dspam-devel/Makefile4
-rw-r--r--mail/dspam/Makefile4
2 files changed, 6 insertions, 2 deletions
diff --git a/mail/dspam-devel/Makefile b/mail/dspam-devel/Makefile
index 807481496cee..9be779410391 100644
--- a/mail/dspam-devel/Makefile
+++ b/mail/dspam-devel/Makefile
@@ -31,6 +31,8 @@ SED_SCRIPT= -e 's,%%DOCSDIR%%,${DOCSDIR},g' \
-e 's,%%EXAMPLESDIR%%,${EXAMPLESDIR},g' \
-e 's,%%LOCALBASE%%,${LOCALBASE},g'
+.include <bsd.port.pre.mk>
+
.if defined(WITH_MYSQL)
USE_MYSQL= yes
CONFIGURE_ARGS+= --with-storage-driver=mysql_drv \
@@ -88,4 +90,4 @@ post-install:
.endif
@${SED} ${SED_SCRIPT} ${PKGMESSAGE}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/mail/dspam/Makefile b/mail/dspam/Makefile
index 807481496cee..9be779410391 100644
--- a/mail/dspam/Makefile
+++ b/mail/dspam/Makefile
@@ -31,6 +31,8 @@ SED_SCRIPT= -e 's,%%DOCSDIR%%,${DOCSDIR},g' \
-e 's,%%EXAMPLESDIR%%,${EXAMPLESDIR},g' \
-e 's,%%LOCALBASE%%,${LOCALBASE},g'
+.include <bsd.port.pre.mk>
+
.if defined(WITH_MYSQL)
USE_MYSQL= yes
CONFIGURE_ARGS+= --with-storage-driver=mysql_drv \
@@ -88,4 +90,4 @@ post-install:
.endif
@${SED} ${SED_SCRIPT} ${PKGMESSAGE}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>