[csw-devel] SF.net SVN: gar:[19906] csw/mgar/pkg/lua/trunk/Makefile

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Tue Dec 18 09:56:20 CET 2012


Revision: 19906
          http://gar.svn.sourceforge.net/gar/?rev=19906&view=rev
Author:   dmichelsen
Date:     2012-12-18 08:56:19 +0000 (Tue, 18 Dec 2012)
Log Message:
-----------
lua/trunk: Fix LUA_ROOT as reported in #4651

Modified Paths:
--------------
    csw/mgar/pkg/lua/trunk/Makefile

Modified: csw/mgar/pkg/lua/trunk/Makefile
===================================================================
--- csw/mgar/pkg/lua/trunk/Makefile	2012-12-18 01:19:37 UTC (rev 19905)
+++ csw/mgar/pkg/lua/trunk/Makefile	2012-12-18 08:56:19 UTC (rev 19906)
@@ -21,8 +21,6 @@
 
 PATCHFILES += 0001-Make-shared-lib.patch
 
-PACKAGING_PLATFORMS = solaris10-sparc solaris10-i386
-
 VENDOR_URL = http://www.lua.org
 
 LICENSE = doc/readme.html
@@ -42,7 +40,7 @@
 
 REINPLACEMENTS += luaroot
 REINPLACE_MATCH_luaroot = (\#define\s+LUA_ROOT\s+).*
-REINPLACE_WITH_luaroot = $$1"$(prefix)"
+REINPLACE_WITH_luaroot = $$1"$(prefix)/"
 REINPLACE_FILES_luaroot += src/luaconf.h
 
 BUILD64 = 1
@@ -52,6 +50,8 @@
 CONFIGURE_SCRIPTS =
 
 EXTRA_CFLAGS += -KPIC
+# This is in the original Makefile, add here as we overwrite CFLAGS
+EXTRA_CFLAGS += -DLUA_COMPAT_ALL
 
 BUILD_ARGS += solaris
 BUILD_ARGS += CC=$(CC)

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