1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

Fix race condition on setting USES.

This commit is contained in:
Mathieu Arnold 2018-08-31 08:08:22 +00:00
parent d4c5064928
commit ce6e9111c1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=478528

View File

@ -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}