summaryrefslogtreecommitdiff
path: root/databases/mysql-proxy
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-05-26 15:28:28 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-05-26 15:28:28 +0000
commite836ab008ac38916a93472f2840e03e2e8470ef5 (patch)
tree1485083919fd5b153bf056ea17ac895ea758a8a9 /databases/mysql-proxy
parent- New port: devel/catch (diff)
Replace lang/lua with the new lang/lua51
lang/lua51 is working the same way lang/lua52, chase ports using lua 5.1 Make the default lua lua52 Make all lua ports using USES=lua Approved by: portmgr (implicit)
Diffstat (limited to 'databases/mysql-proxy')
-rw-r--r--databases/mysql-proxy/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/databases/mysql-proxy/Makefile b/databases/mysql-proxy/Makefile
index bad4c4225fa7..6c915b2c4f19 100644
--- a/databases/mysql-proxy/Makefile
+++ b/databases/mysql-proxy/Makefile
@@ -15,14 +15,13 @@ LICENSE= GPLv2
LIB_DEPENDS= libevent-1.4.so:${PORTSDIR}/devel/libevent \
libglib-2.0.so:${PORTSDIR}/devel/glib20
-CONFIGURE_ARGS+= --with-lua=lua-5.1 --with-mysql=${LOCALBASE}/bin/mysql_config --docdir=${DATADIR} --enable-self-contained
+CONFIGURE_ARGS+= --with-lua=lua-${LUA_VER} --with-mysql=${LOCALBASE}/bin/mysql_config --docdir=${DATADIR} --enable-self-contained
CFLAGS+= -I${LOCALBASE}/include
CONFIGURE_ENV+= PKG_CONFIG_PATH="${LUA_PREFIX}/share/doc/${LUA_SUBDIR}/etc"
LDFLAGS+= -L${LOCALBASE}/lib -L${LUA_LIBDIR}
GNU_CONFIGURE= yes
-USES= pkgconfig iconv
+USES= pkgconfig lua:51 iconv
USE_LDCONFIG= yes
-USE_LUA= 5.1+
USE_MYSQL= yes
USE_RC_SUBR= mysql-proxy