luacompat-5.1r4, okay jolan@

This commit is contained in:
pedro 2005-09-06 13:09:27 +00:00
parent 4e3cf7e5b9
commit 7cf16a0f03
3 changed files with 27 additions and 26 deletions

View File

@ -1,14 +1,14 @@
# $OpenBSD: Makefile,v 1.2 2005/04/23 13:54:38 pedro Exp $
# $OpenBSD: Makefile,v 1.3 2005/09/06 13:09:27 pedro Exp $
COMMENT= "compatibility module for lua 5.1"
NOT_FOR_ARCHS= ${NO_SHARED_ARCHS}
DISTNAME= compat-5.1r2
PKGNAME= luacompat-5.1r2p0
DIST_SUBDIR= luacompat-5.1r2
DISTNAME= compat-5.1r4
PKGNAME= luacompat-5.1r4
DIST_SUBDIR= luacompat-5.1r4
CATEGORIES= devel
MASTER_SITES= http://luaforge.net/frs/download.php/402/
MASTER_SITES= http://luaforge.net/frs/download.php/952/
HOMEPAGE= http://www.keplerproject.org/compat/
MAINTAINER= Pedro Martelletto <pedro@openbsd.org>

View File

@ -1,4 +1,4 @@
MD5 (luacompat-5.1r2/compat-5.1r2.tar.gz) = 751de141b3f6faa0b9706b757c8bc7a1
RMD160 (luacompat-5.1r2/compat-5.1r2.tar.gz) = 51f6bd3fba0c2773241e2e46f7fbadab144c455a
SHA1 (luacompat-5.1r2/compat-5.1r2.tar.gz) = 938691cc58a6327995db9266e483dbe4bd7ec2e8
SIZE (luacompat-5.1r2/compat-5.1r2.tar.gz) = 2039
MD5 (luacompat-5.1r4/compat-5.1r4.tar.gz) = 7cfd21ed28b02ef78b6f9034406a8322
RMD160 (luacompat-5.1r4/compat-5.1r4.tar.gz) = 07a97a8eeebcb7348f02f81eb884ef3dbbf7f1dc
SHA1 (luacompat-5.1r4/compat-5.1r4.tar.gz) = 00d20857482f4dc7b49478c644aa3869cf122e42
SIZE (luacompat-5.1r4/compat-5.1r4.tar.gz) = 2790

View File

@ -1,17 +1,18 @@
$OpenBSD: patch-compat-5_1_lua,v 1.1 2005/04/22 23:58:56 pedro Exp $
--- compat-5.1.lua.orig Fri Apr 22 20:51:03 2005
+++ compat-5.1.lua Fri Apr 22 20:51:41 2005
@@ -13,10 +13,10 @@ package.path = LUA_PATH or os.getenv("LU
"/usr/local/share/lua/5.0/?.lua;" ..
"/usr/local/share/lua/5.0/?/init.lua" )
-package.cpath = os.getenv("LUA_CPATH") or
- "./?.so;" ..
+package.cpath = LUA_CPATH or os.getenv("LUA_CPATH") or
+ ("./?.so;" ..
"/usr/local/lib/lua/5.0/?.so;" ..
- "/usr/local/lib/lua/5.0/lib?.so"
+ "/usr/local/lib/lua/5.0/lib?.so" )
--
-- make sure require works with standard libraries
$OpenBSD: patch-compat-5_1_lua,v 1.2 2005/09/06 13:09:27 pedro Exp $
--- compat-5.1.lua.orig Sat Sep 3 10:15:56 2005
+++ compat-5.1.lua Sat Sep 3 10:17:12 2005
@@ -26,11 +26,11 @@ package.path = LUA_PATH or os.getenv("LU
"/usr/local/share/lua/5.0/?/?.lua;" ..
"/usr/local/share/lua/5.0/?/init.lua" )
-package.cpath = os.getenv("LUA_CPATH") or
- "./?.so;" ..
+package.cpath = LUA_CPATH or os.getenv("LUA_CPATH") or
+ ("./?.so;" ..
"./l?.so;" ..
"/usr/local/lib/lua/5.0/?.so;" ..
- "/usr/local/lib/lua/5.0/l?.so"
+ "/usr/local/lib/lua/5.0/l?.so")
--
-- make sure require works with standard libraries