aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2016-01-11 00:31:33 +0800
committerbapt <bapt@FreeBSD.org>2016-01-11 00:31:33 +0800
commit834e21da3d78bade53f6940b62c4b1d11ff57062 (patch)
tree45355dccba19623f8780fff011f8b7e1a576c0e2 /net-mgmt
parent0b449150804dd839d3aec0f8dcde508b07c60a84 (diff)
downloadfreebsd-ports-gnome-834e21da3d78bade53f6940b62c4b1d11ff57062.tar.gz
freebsd-ports-gnome-834e21da3d78bade53f6940b62c4b1d11ff57062.tar.zst
freebsd-ports-gnome-834e21da3d78bade53f6940b62c4b1d11ff57062.zip
Convert ports from s* t* and net* categories to USES=sqlite and USES=firebird
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/pmacct/Makefile2
-rw-r--r--net-mgmt/rackmonkey/Makefile4
2 files changed, 3 insertions, 3 deletions
diff --git a/net-mgmt/pmacct/Makefile b/net-mgmt/pmacct/Makefile
index 992b6c113208..4b61b5b49b26 100644
--- a/net-mgmt/pmacct/Makefile
+++ b/net-mgmt/pmacct/Makefile
@@ -51,7 +51,7 @@ PLIST_SUB+= WITH_PGSQL="@comment "
.endif
.if ${PORT_OPTIONS:MSQLITE}
-USE_SQLITE= yes
+USES+= sqlite
CONFIGURE_ARGS+=--enable-sqlite3 \
--with-sqlite3-includes=${LOCALBASE}/include
.else
diff --git a/net-mgmt/rackmonkey/Makefile b/net-mgmt/rackmonkey/Makefile
index 637bbac05db2..a155275a1e89 100644
--- a/net-mgmt/rackmonkey/Makefile
+++ b/net-mgmt/rackmonkey/Makefile
@@ -34,7 +34,7 @@ SUB_FILES= pkg-message
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MSQLITE}
-USE_SQLITE= yes
+USES+= sqlite
RUN_DEPENDS+= p5-DBD-SQLite>=0:${PORTSDIR}/databases/p5-DBD-SQLite
.endif
.if ${PORT_OPTIONS:MMYSQL}
@@ -65,7 +65,7 @@ do-install:
cd ${WRKSRC}/perl && ${COPYTREE_SHARE} RackMonkey ${STAGEDIR}${WWWDIR}/
${MKDIR} ${WRKDIR}/build_conf; \
${CP} ${WRKSRC}/conf/rackmonkey.conf-default ${WRKDIR}/build_conf/rackmonkey.conf; \
- if [ "${USE_SQLITE}" ]; then \
+ if [ "${USES:MSQLITE}" ]; then \
${ECHO} "Building with SQLite............."; \
${SED} -i '' -e 's%dbconnect =%dbconnect = dbi:SQLite:dbname=${WWWDIR}/rackmonkey.db%' ${WRKDIR}/build_conf/rackmonkey.conf; \
if [ "${INIT_DB}" ]; then \