aboutsummaryrefslogtreecommitdiffstats
path: root/mail/ezmlm-idx/Makefile
diff options
context:
space:
mode:
authorreg <reg@FreeBSD.org>2000-04-17 08:19:02 +0800
committerreg <reg@FreeBSD.org>2000-04-17 08:19:02 +0800
commitd22cbcc0186bfcde72d3058c3d06d1032bb7157e (patch)
treeefb5227e2fc359da16edf2ca8a5ca4744a25bc3e /mail/ezmlm-idx/Makefile
parent8b766534122d71052c9f8e5a0752944edf0450f8 (diff)
downloadfreebsd-ports-gnome-d22cbcc0186bfcde72d3058c3d06d1032bb7157e.tar.gz
freebsd-ports-gnome-d22cbcc0186bfcde72d3058c3d06d1032bb7157e.tar.zst
freebsd-ports-gnome-d22cbcc0186bfcde72d3058c3d06d1032bb7157e.zip
Standardize all user defined options to the booleans WITH_FOO and
WITHOUT_FOO. Begin the process of reserving these prefixes for user defined options. No comment by: ports
Diffstat (limited to 'mail/ezmlm-idx/Makefile')
-rw-r--r--mail/ezmlm-idx/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/mail/ezmlm-idx/Makefile b/mail/ezmlm-idx/Makefile
index ea0d5c90efdf..4d56203ef446 100644
--- a/mail/ezmlm-idx/Makefile
+++ b/mail/ezmlm-idx/Makefile
@@ -33,8 +33,8 @@ LANGUAGE?= en_US
RUN_DEPENDS= ${QMAIL_DIR}/bin/qmail-send:${PORTSDIR}/mail/qmail
-# If USE_MYSQL is defined, build with MySQL extensions
-.if defined(USE_MYSQL)
+# If WITH_MYSQL is defined, build with MySQL extensions
+.if defined(WITH_MYSQL)
ALL_TARGET= it ${LANGUAGE} mysql
LIB_DEPENDS+= mysqlclient.6:${PORTSDIR}/databases/mysql322-client
.else
@@ -81,7 +81,7 @@ post-patch:
@${ECHO} ${QMAIL_DIR} > ${WRKSRC}/conf-qmail
@${ECHO} ${PREFIX} > ${WRKDIR}/.PPREFIX
@${ECHO} ${QMAIL_DIR} >> ${WRKDIR}/.PPREFIX
- @${ECHO} ${NOPORTDOCS} ${USE_MYSQL} >> ${WRKDIR}/.PPREFIX
+ @${ECHO} ${NOPORTDOCS} ${WITH_MYSQL} >> ${WRKDIR}/.PPREFIX
@${MV} ${WRKSRC}/idx.h ${WRKSRC}/idx.h.orig
@${SED} -e 's#/etc/ezmlm/#'${PREFIX}'/etc/ezmlm/#' \
< ${WRKSRC}/idx.h.orig > ${WRKSRC}/idx.h
@@ -93,7 +93,7 @@ post-patch:
pre-install:
@${ECHO} ${PREFIX} > ${WRKDIR}/.IPREFIX
@${ECHO} ${QMAIL_DIR} >> ${WRKDIR}/.IPREFIX
- @${ECHO} ${NOPORTDOCS} ${USE_MYSQL} >> ${WRKDIR}/.IPREFIX
+ @${ECHO} ${NOPORTDOCS} ${WITH_MYSQL} >> ${WRKDIR}/.IPREFIX
@diff ${WRKDIR}/.[PI]PREFIX || (${ECHO} ${DIFF_MSG} && exit 1)
do-install: