aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/gegl
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-04-22 07:25:22 +0800
committerbapt <bapt@FreeBSD.org>2014-04-22 07:25:22 +0800
commit57b3e85a42673cb68511fb19477ebac944799d1a (patch)
tree70fd8be90863d7a5fc55d6412f485bcad65444cc /graphics/gegl
parenta77674eac207079979eae0816476783cf9364167 (diff)
downloadfreebsd-ports-gnome-57b3e85a42673cb68511fb19477ebac944799d1a.tar.gz
freebsd-ports-gnome-57b3e85a42673cb68511fb19477ebac944799d1a.tar.zst
freebsd-ports-gnome-57b3e85a42673cb68511fb19477ebac944799d1a.zip
Switch to lua 5.2
Diffstat (limited to 'graphics/gegl')
-rw-r--r--graphics/gegl/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/gegl/Makefile b/graphics/gegl/Makefile
index 9fbcbe696060..ba3f2dbaf12f 100644
--- a/graphics/gegl/Makefile
+++ b/graphics/gegl/Makefile
@@ -110,7 +110,7 @@ PLIST_SUB+= JPEG="@comment "
.endif
.if ${PORT_OPTIONS:MLUA}
-USE_LUA= 5.1
+USES+= lua
.else
CONFIGURE_ARGS+=--without-lua
.endif
@@ -202,6 +202,7 @@ CONFIGURE_ARGS+=--disable-docs
.endif
post-patch:
+ ${REINPLACE_CMD} "s/lua >/lua-${LUA_VER} >/g" ${WRKSRC}/configure
.if ! ${PORT_OPTIONS:MDOCS}
${REINPLACE_CMD} -e 's|tools examples|tools|g' \
${WRKSRC}/Makefile.in