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

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Sat Mar 10 12:47:17 CET 2012


Revision: 17351
          http://gar.svn.sourceforge.net/gar/?rev=17351&view=rev
Author:   wahwah
Date:     2012-03-10 11:47:17 +0000 (Sat, 10 Mar 2012)
Log Message:
-----------
spidermonkey/trunk: fix a linking problem on x86, adjust package name to the correct SONAME

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

Modified: csw/mgar/pkg/spidermonkey/trunk/Makefile
===================================================================
--- csw/mgar/pkg/spidermonkey/trunk/Makefile	2012-03-10 11:05:12 UTC (rev 17350)
+++ csw/mgar/pkg/spidermonkey/trunk/Makefile	2012-03-10 11:47:17 UTC (rev 17351)
@@ -24,6 +24,8 @@
 
 LICENSE = js/src/README.html
 
+# EXTRA_LINKER_FLAGS = -mimpure-text
+
 CONFIGURE_SCRIPTS = custom
 BUILD_SCRIPTS = custom
 TEST_SCRIPTS = 
@@ -41,11 +43,10 @@
 PKGFILES_CSWlibmozjs185-gxx-dev += $(PKGFILES_DEVEL)
 PKGFILES_CSWlibmozjs185-gxx-dev += $(libdir)/libmozjs185.so
 
-PACKAGES += CSWlibmozjs185-gxx
-PKGFILES_CSWlibmozjs185-gxx += $(call baseisadirs,$(libdir),libmozjs185\.so\.1\.0\.0)
-SPKG_DESC_CSWlibmozjs185-gxx += $(DESCRIPTION), libmozjs185.so
-RUNTIME_DEP_PKGS_CSWlibmozjs185-gxx += CSWlibgcc-s1
-RUNTIME_DEP_PKGS_CSWlibmozjs185-gxx += CSWlibstdc++6
+PACKAGES += CSWlibmozjs185-1-0-gxx
+PKGFILES_CSWlibmozjs185-1-0-gxx += $(call baseisadirs,$(libdir),libmozjs185\.so\.1\.0(\.\d+)*)
+SPKG_DESC_CSWlibmozjs185-1-0-gxx += $(DESCRIPTION), libmozjs185.so.1.0
+RUNTIME_DEP_PKGS_CSWlibmozjs185-gxx += CSWlibmozjs185-1-0-gxx
 
 include gar/category.mk
 
@@ -63,13 +64,15 @@
 configure-custom:
 	(cd $(WORKSRC)/js && mkdir -p objdir && cd objdir && \
 	CFLAGS="-DJS_C_STRINGS_ARE_UTF8" \
-	       CXXFLAGS="-fshort-enums -DJS_C_STRINGS_ARE_UTF8" \
-	       CXX=/opt/csw/bin/g++ CC=/opt/csw/bin/gcc \
+	       CXXFLAGS="-fshort-enums -mimpure-text -DJS_C_STRINGS_ARE_UTF8" \
+	       CXX=/opt/csw/bin/g++ \
+	       CC=/opt/csw/bin/gcc \
 	       ../src/configure \
 	       --disable-pedantic \
 	       --with-nspr-prefix=/opt/csw \
 	       --prefix=/opt/csw/gxx \
 	       --with-system-nspr \
+	       --with-pthreads \
 	       --enable-threadsasafe \
 	       --with-ctypes)
 	@$(MAKECOOKIE)

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