diff options
author | Jeremy Lea <reg@FreeBSD.org> | 2000-04-17 00:19:02 +0000 |
---|---|---|
committer | Jeremy Lea <reg@FreeBSD.org> | 2000-04-17 00:19:02 +0000 |
commit | b4455771cced2fe9f134e751fe88dbba7226e694 (patch) | |
tree | 39733bef5e1d466d30938b5a47f0b46a7b6890b4 /mail/ezmlm-idx/Makefile | |
parent | Standardize all user defined options to the booleans WITH_FOO and (diff) |
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 '')
-rw-r--r-- | mail/ezmlm-idx/Makefile | 8 |
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: |