From 4e98fd8c93c3358320bcdb8cce77c88cf1ca96de Mon Sep 17 00:00:00 2001 From: dbt Date: Tue, 19 Dec 2000 06:58:46 +0000 Subject: [PATCH] lua 4.0 port. --- lang/lua/files/md5 | 6 +++--- lang/lua/patches/patch-config | 19 ++++++++++--------- lang/lua/pkg/PFRAG.shared | 6 +++--- lang/lua/pkg/PLIST | 8 ++++++-- 4 files changed, 22 insertions(+), 17 deletions(-) diff --git a/lang/lua/files/md5 b/lang/lua/files/md5 index 2681091654b..782ed230ca0 100644 --- a/lang/lua/files/md5 +++ b/lang/lua/files/md5 @@ -1,3 +1,3 @@ -MD5 (lua-3.2.tar.gz) = 374ba5c4839709922de40b8d10382705 -RMD160 (lua-3.2.tar.gz) = 25fd811fe9af316502d132a8b90dc498bb484731 -SHA1 (lua-3.2.tar.gz) = fa50ff14c00d8523c8a3d1d3f4887ecc4400d0c3 +MD5 (lua-4.0.tar.gz) = be11522d46d33a931868c03694aaeeef +RMD160 (lua-4.0.tar.gz) = 6ebb072ea14b2e74bd1601cd4e5326ac0b12e7d4 +SHA1 (lua-4.0.tar.gz) = 8d432c73ef6e98b81d252114be1a83182cc9607a diff --git a/lang/lua/patches/patch-config b/lang/lua/patches/patch-config index bb4fa465ba0..ed3e2919560 100644 --- a/lang/lua/patches/patch-config +++ b/lang/lua/patches/patch-config @@ -1,10 +1,11 @@ ---- config.old Tue Aug 8 19:37:13 2000 -+++ config Tue Aug 8 19:37:06 2000 -@@ -20,6 +20,7 @@ - # you need an ANSI C compiler. gcc is a popular one. - CC= gcc - WARN= -ansi -Wall -+EXTRA_DEFS+=-fpic +--- config.orig Tue Nov 21 18:42:42 2000 ++++ config Tue Nov 21 18:45:12 2000 +@@ -93,7 +93,7 @@ + INCS= -I$(INC) $(EXTRA_INCS) + DEFS= $(COMPAT) $(NUMBER) $(OLD_ANSI) $(EXTRA_DEFS) + +-CFLAGS= -O2 $(WARN) $(INCS) $(DEFS) ++CFLAGS= -O2 -fpic $(WARN) $(INCS) $(DEFS) + + V=4.0 - # on IRIX, cc is a good ANSI compiler. - #CC= cc diff --git a/lang/lua/pkg/PFRAG.shared b/lang/lua/pkg/PFRAG.shared index 03f92efb022..abf0f64c7cc 100644 --- a/lang/lua/pkg/PFRAG.shared +++ b/lang/lua/pkg/PFRAG.shared @@ -1,4 +1,4 @@ -@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2000/08/16 03:15:41 kevlo Exp $ -lib/liblua.so.3.2 -lib/liblualib.so.3.2 +@comment $OpenBSD: PFRAG.shared,v 1.1.1.2 2000/12/19 06:58:46 dbt Exp $ +lib/liblua.so.4.0 +lib/liblualib.so.4.0 DYNLIBDIR(%B) diff --git a/lang/lua/pkg/PLIST b/lang/lua/pkg/PLIST index ebf5045c205..f7367f57dfb 100644 --- a/lang/lua/pkg/PLIST +++ b/lang/lua/pkg/PLIST @@ -1,6 +1,7 @@ -@comment $OpenBSD: PLIST,v 1.1.1.1 2000/08/16 03:15:41 kevlo Exp $ +@comment $OpenBSD: PLIST,v 1.1.1.2 2000/12/19 06:58:46 dbt Exp $ bin/lua bin/luac +bin/bin2c include/lauxlib.h include/lua.h include/luadebug.h @@ -10,8 +11,11 @@ lib/liblualib.a %%SHARED%% share/lua/docs/idx.html share/lua/docs/index.html +share/lua/docs/logo.gif +share/lua/docs/lua.1 +share/lua/docs/lua.html +share/lua/docs/luac.1 share/lua/docs/luac.html -share/lua/docs/luac.man share/lua/docs/manual.html share/lua/docs/readme.html @dirrm share/lua/docs