diff options
-rw-r--r-- | security/webfwlog/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/security/webfwlog/Makefile b/security/webfwlog/Makefile index 567c5c275da3..818a0a9ee675 100644 --- a/security/webfwlog/Makefile +++ b/security/webfwlog/Makefile @@ -37,7 +37,6 @@ MODPHP_USES_OFF= php:web MYSQL_CONFIGURE_WITH= mysql MYSQL_USE= php=mysqli -MYSQL_USES= mysql:client MYSQLIPV6_DESC= Build plugin for Mysql IPv6 support (implies MYSQL) MYSQLIPV6_IMPLIES= MYSQL @@ -45,7 +44,6 @@ MYSQLIPV6_CONFIGURE_ENABLE= mysql-ipv6 MYSQLIPV6_PLUGIN_DIR_REL= lib/mysql/plugin MYSQLIPV6_PLUGIN_DIR= ${LOCALBASE}/${MYSQLIPV6_PLUGIN_DIR_REL} MYSQLIPV6_CONFIGURE_ON= --libdir=${MYSQLIPV6_PLUGIN_DIR} -MYSQLIPV6_USES= libtool mysql:server,client MYSQLIPV6_USE= ldconfig=${MYSQLIPV6_PLUGIN_DIR} MYSQLIPV6_PLIST_FILES= ${MYSQLIPV6_PLUGIN_DIR_REL}/libwebfwlog_udf.so \ ${MYSQLIPV6_PLUGIN_DIR_REL}/libwebfwlog_udf.so.0 \ @@ -77,6 +75,12 @@ PLIST_SUB+= WWWGRP=${WWWGRP} .include <bsd.port.options.mk> +.if ${PORT_OPTIONS:MMYSQLIPV6} +USES+= mysql:server,client +.elif ${PORT_OPTIONS:MMYSQL} +USES+= mysql:client +.endif + do-install: @${MKDIR} ${STAGEDIR}${WWWDIR}/include/ ${INSTALL_DATA} ${WRKSRC}/webfwlog/style.css ${STAGEDIR}${WWWDIR} |