diff options
author | bapt <bapt@FreeBSD.org> | 2014-05-26 23:28:28 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2014-05-26 23:28:28 +0800 |
commit | e6b8ed87b5e99e0ddfa7f575594f03f1992cf201 (patch) | |
tree | 1485083919fd5b153bf056ea17ac895ea758a8a9 /net | |
parent | 729d5d5ddb37fd2035af319a95b99466360a2e7e (diff) | |
download | freebsd-ports-gnome-e6b8ed87b5e99e0ddfa7f575594f03f1992cf201.tar.gz freebsd-ports-gnome-e6b8ed87b5e99e0ddfa7f575594f03f1992cf201.tar.zst freebsd-ports-gnome-e6b8ed87b5e99e0ddfa7f575594f03f1992cf201.zip |
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 'net')
-rw-r--r-- | net/asterisk/Makefile | 2 | ||||
-rw-r--r-- | net/asterisk11/Makefile | 2 | ||||
-rw-r--r-- | net/luasocket/Makefile | 8 | ||||
-rw-r--r-- | net/wireshark/Makefile | 2 |
4 files changed, 6 insertions, 8 deletions
diff --git a/net/asterisk/Makefile b/net/asterisk/Makefile index 638ceabb9d5d..8864041b1a59 100644 --- a/net/asterisk/Makefile +++ b/net/asterisk/Makefile @@ -242,7 +242,7 @@ CONFIGURE_ARGS+= --without-srtp .if ${PORT_OPTIONS:MLUA} CONFIGURE_ARGS+= --with-lua CFLAGS+= -I${LUA_INCDIR} -USE_LUA= yes +USES+= lua:51 LDFLAGS+= -L${LUA_LIBDIR} PLIST_SUB+= WITH_LUA="" .else diff --git a/net/asterisk11/Makefile b/net/asterisk11/Makefile index 3172a638bf46..3d73f7eebc2b 100644 --- a/net/asterisk11/Makefile +++ b/net/asterisk11/Makefile @@ -236,7 +236,7 @@ CONFIGURE_ARGS+= --without-srtp .if ${PORT_OPTIONS:MLUA} CONFIGURE_ARGS+= --with-lua CFLAGS+= -I${LUA_INCDIR} -USE_LUA= yes +USES+= lua:51 LDFLAGS+= -L${LUA_LIBDIR} PLIST_SUB+= WITH_LUA="" .else diff --git a/net/luasocket/Makefile b/net/luasocket/Makefile index 3917b4a188f1..f08d81df43aa 100644 --- a/net/luasocket/Makefile +++ b/net/luasocket/Makefile @@ -17,12 +17,10 @@ GH_PROJECT= ${PORTNAME} GH_TAGNAME= v3.0-rc1 GH_COMMIT= 22cd583 -USE_GMAKE= yes -USE_LUA?= 5.1 -LUA_COMPS= lua +USES= lua:51 gmake pkgconfig -CFLAGS+= `pkgconf --cflags lua-${LUA_VER}` -I${LUA_INCDIR} -LDFLAGS+= -shared -L${LOCALBASE}/lib -L${LUA_LIBDIR} +CFLAGS+= `pkgconf --cflags lua-${LUA_VER}` +LDFLAGS+= -shared `pkgconf --libs lua-${LUA_VER}` post-extract: @${MV} ${WRKSRC}/makefile ${WRKSRC}/Makefile diff --git a/net/wireshark/Makefile b/net/wireshark/Makefile index d34136bdc988..e2593b6fe07d 100644 --- a/net/wireshark/Makefile +++ b/net/wireshark/Makefile @@ -103,7 +103,7 @@ CONFIGURE_ARGS+= --with-pcre=no .endif .if ${PORT_OPTIONS:MLUA} && !defined(LITE) -USE_LUA= 5.1 +USES+= lua:51 CONFIGURE_ARGS+=--with-lua=${LUA_PREFIX} PLIST_SUB+= LUA="" .else |