pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/lua-socket Don't hardcode lua '5.2' everywhere, us...
details: https://anonhg.NetBSD.org/pkgsrc/rev/a869e7c67029
branches: trunk
changeset: 629526:a869e7c67029
user: jperkin <jperkin%pkgsrc.org@localhost>
date: Wed Jan 22 16:20:51 2014 +0000
description:
Don't hardcode lua '5.2' everywhere, use the appropriate variables.
Fixes build with lua 5.1. Bump PKGREVISION.
diffstat:
net/lua-socket/Makefile | 6 +++---
net/lua-socket/PLIST | 24 ++++++++++++------------
2 files changed, 15 insertions(+), 15 deletions(-)
diffs (52 lines):
diff -r 213413573026 -r a869e7c67029 net/lua-socket/Makefile
--- a/net/lua-socket/Makefile Wed Jan 22 16:16:30 2014 +0000
+++ b/net/lua-socket/Makefile Wed Jan 22 16:20:51 2014 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.5 2013/09/13 14:24:28 fhajny Exp $
+# $NetBSD: Makefile,v 1.6 2014/01/22 16:20:51 jperkin Exp $
#
DISTNAME= luasocket-3.0-rc1
PKGNAME= ${LUA_PKGPREFIX}-${DISTNAME:S/lua//:S/-rc/rc/}
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= net
MASTER_SITES= -https://github.com/diegonehab/luasocket/archive/v3.0-rc1.tar.gz
@@ -18,7 +18,7 @@
LDFLAGS.SunOS= -lrt -lresolv
-MAKE_FLAGS+= LUAV=5.2
+MAKE_FLAGS+= LUAV=${_LUA_DOT_VERSION}
MAKE_FLAGS+= LUAINC_linux_base=${PREFIX}/include
MAKE_FLAGS+= LUAPREFIX_linux=${PREFIX}
diff -r 213413573026 -r a869e7c67029 net/lua-socket/PLIST
--- a/net/lua-socket/PLIST Wed Jan 22 16:16:30 2014 +0000
+++ b/net/lua-socket/PLIST Wed Jan 22 16:20:51 2014 +0000
@@ -1,12 +1,12 @@
-@comment $NetBSD: PLIST,v 1.2 2013/09/01 04:45:58 ryoon Exp $
-lib/lua/5.2/mime/core.so
-lib/lua/5.2/socket/core.so
-share/lua/5.2/ltn12.lua
-share/lua/5.2/mime.lua
-share/lua/5.2/socket.lua
-share/lua/5.2/socket/ftp.lua
-share/lua/5.2/socket/headers.lua
-share/lua/5.2/socket/http.lua
-share/lua/5.2/socket/smtp.lua
-share/lua/5.2/socket/tp.lua
-share/lua/5.2/socket/url.lua
+@comment $NetBSD: PLIST,v 1.3 2014/01/22 16:20:51 jperkin Exp $
+${LUA_CDIR}/mime/core.so
+${LUA_CDIR}/socket/core.so
+${LUA_LDIR}/ltn12.lua
+${LUA_LDIR}/mime.lua
+${LUA_LDIR}/socket.lua
+${LUA_LDIR}/socket/ftp.lua
+${LUA_LDIR}/socket/headers.lua
+${LUA_LDIR}/socket/http.lua
+${LUA_LDIR}/socket/smtp.lua
+${LUA_LDIR}/socket/tp.lua
+${LUA_LDIR}/socket/url.lua
Home |
Main Index |
Thread Index |
Old Index