aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorerwin <erwin@FreeBSD.org>2006-04-20 16:58:21 +0800
committererwin <erwin@FreeBSD.org>2006-04-20 16:58:21 +0800
commit8534075af668d605d35dc75a6ee54283a44547a4 (patch)
treec7a95e3e785a70fe106acba92b22fd37ff2d7257 /net
parent82270bffed5c2692217a9bbc61d3ae75fb8bb791 (diff)
downloadfreebsd-ports-gnome-8534075af668d605d35dc75a6ee54283a44547a4.tar.gz
freebsd-ports-gnome-8534075af668d605d35dc75a6ee54283a44547a4.tar.zst
freebsd-ports-gnome-8534075af668d605d35dc75a6ee54283a44547a4.zip
Add dependency on devel/lua-compat51 on don't install share/lua/5.0/compat-5.1.lua
PR: 96071 Submitted by: Andrew Turner <andrew+ports@fubar.geek.nz> (maintainer)
Diffstat (limited to 'net')
-rw-r--r--net/luasocket/Makefile3
-rw-r--r--net/luasocket/files/patch-Makefile10
-rw-r--r--net/luasocket/pkg-plist1
3 files changed, 13 insertions, 1 deletions
diff --git a/net/luasocket/Makefile b/net/luasocket/Makefile
index 47a13908f0e1..57acda30f23b 100644
--- a/net/luasocket/Makefile
+++ b/net/luasocket/Makefile
@@ -7,6 +7,7 @@
PORTNAME= luasocket
PORTVERSION= 2.0
+PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= http://luaforge.net/frs/download.php/1097/
@@ -14,6 +15,8 @@ MAINTAINER= andrew+ports@fubar.geek.nz
COMMENT= IPv4 Sockets support for the Lua language
BUILD_DEPENDS= ${LOCALBASE}/include/lua.h:${PORTSDIR}/lang/lua
+RUN_DEPENDS= ${LOCALBASE}/include/lua.h:${PORTSDIR}/lang/lua \
+ ${LOCALBASE}/share/lua/5.0/compat-5.1.lua:${PORTSDIR}/devel/lua50-compat51
USE_GMAKE= yes
diff --git a/net/luasocket/files/patch-Makefile b/net/luasocket/files/patch-Makefile
new file mode 100644
index 000000000000..8114a8536516
--- /dev/null
+++ b/net/luasocket/files/patch-Makefile
@@ -0,0 +1,10 @@
+--- Makefile.orig Mon Apr 17 11:33:50 2006
++++ Makefile Mon Apr 17 11:33:57 2006
+@@ -25,7 +25,6 @@
+ smtp.lua
+
+ TO_TOP_SHARE:= \
+- $(COMPAT)/compat-5.1.lua \
+ ltn12.lua \
+ socket.lua \
+ mime.lua
diff --git a/net/luasocket/pkg-plist b/net/luasocket/pkg-plist
index 0389f4c7efed..3f6613797661 100644
--- a/net/luasocket/pkg-plist
+++ b/net/luasocket/pkg-plist
@@ -1,7 +1,6 @@
share/lua/5.0/mime.lua
share/lua/5.0/socket.lua
share/lua/5.0/ltn12.lua
-share/lua/5.0/compat-5.1.lua
share/lua/5.0/socket/smtp.lua
share/lua/5.0/socket/ftp.lua
share/lua/5.0/socket/tp.lua