summaryrefslogtreecommitdiff
path: root/databases/mysql-proxy/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'databases/mysql-proxy/Makefile')
-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