[csw-devel] SF.net SVN: gar:[5676] csw/mgar/pkg/lua/trunk
wmeler at users.sourceforge.net
wmeler at users.sourceforge.net
Tue Jul 28 08:27:37 CEST 2009
Revision: 5676
http://gar.svn.sourceforge.net/gar/?rev=5676&view=rev
Author: wmeler
Date: 2009-07-28 06:27:34 +0000 (Tue, 28 Jul 2009)
Log Message:
-----------
fix symlinks to dynamic lib
Modified Paths:
--------------
csw/mgar/pkg/lua/trunk/checksums
csw/mgar/pkg/lua/trunk/files/dynamic.patch
Modified: csw/mgar/pkg/lua/trunk/checksums
===================================================================
--- csw/mgar/pkg/lua/trunk/checksums 2009-07-28 06:14:15 UTC (rev 5675)
+++ csw/mgar/pkg/lua/trunk/checksums 2009-07-28 06:27:34 UTC (rev 5676)
@@ -1,3 +1,3 @@
31f0a21e4b8937af46d8e55a7b9cac51 download/CSWlua.gspec
-bba1ddc395109a6e8acfa485db7754d4 download/dynamic.patch
+84b47da3b41da0bf44205291a4c81ea5 download/dynamic.patch
d0870f2de55d59c1c8419f36e8fac150 download/lua-5.1.4.tar.gz
Modified: csw/mgar/pkg/lua/trunk/files/dynamic.patch
===================================================================
--- csw/mgar/pkg/lua/trunk/files/dynamic.patch 2009-07-28 06:14:15 UTC (rev 5675)
+++ csw/mgar/pkg/lua/trunk/files/dynamic.patch 2009-07-28 06:27:34 UTC (rev 5676)
@@ -19,7 +19,7 @@
default: $(PLAT)
-@@ -47,10 +49,18 @@
+@@ -47,10 +49,17 @@
a: $(ALL_A)
@@ -33,19 +33,19 @@
+ -rm -f $(LUA_SO)
+ $(CC) -h $(LUA_SO).$(V) -G -o $(LUA_SO).$(R) $(CORE_O) $(LIB_O)
+ ln -s $(LUA_SO).$(R) $(LUA_SO)
-+ ln -s $(LUA_SO).$(V) $(LUA_SO)
+
$(LUA_T): $(LUA_O) $(LUA_A)
$(CC) -o $@ $(MYLDFLAGS) $(LUA_O) $(LUA_A) $(LIBS)
--- lua-5.1.3/Makefile.orig 2008-04-13 19:29:27.000000000 +0200
+++ lua-5.1.3/Makefile 2008-04-13 19:52:12.000000000 +0200
-@@ -39,6 +39,8 @@
+@@ -39,6 +39,9 @@
TO_BIN= lua luac
TO_INC= lua.h luaconf.h lualib.h lauxlib.h ../etc/lua.hpp
TO_LIB= liblua.a
+TO_SOLIB= liblua.so
-+TO_SOLIBV= liblua.so.$(R)
++TO_SOLIBR= liblua.so.$(R)
++TO_SOLIBV= liblua.so.$(V)
TO_MAN= lua.1 luac.1
# Lua version and release.
@@ -58,12 +58,13 @@
test: dummy
src/lua test/hello.lua
-@@ -58,6 +59,8 @@
+@@ -58,6 +59,9 @@
cd src && $(INSTALL_EXEC) $(TO_BIN) $(INSTALL_BIN)
cd src && $(INSTALL_DATA) $(TO_INC) $(INSTALL_INC)
cd src && $(INSTALL_DATA) $(TO_LIB) $(INSTALL_LIB)
-+ cd src && $(INSTALL_EXEC) $(TO_SOLIBV) $(INSTALL_LIB)
-+ cd src && ln -s $(TO_SOLIBV) $(INSTALL_LIB)/$(TO_SOLIB)
++ cd src && $(INSTALL_EXEC) $(TO_SOLIBR) $(INSTALL_LIB)
++ cd src && ln -s $(TO_SOLIBR) $(INSTALL_LIB)/$(TO_SOLIB)
++ cd src && ln -s $(TO_SOLIBR) $(INSTALL_LIB)/$(TO_SOLIBV)
cd doc && $(INSTALL_DATA) $(TO_MAN) $(INSTALL_MAN)
local:
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list