[35394] trunk/dports/lang/spidermonkey

akira at macports.org akira at macports.org
Thu Mar 27 07:46:11 PDT 2008


Revision: 35394
          http://trac.macosforge.org/projects/macports/changeset/35394
Author:   akira at macports.org
Date:     2008-03-27 07:45:58 -0700 (Thu, 27 Mar 2008)

Log Message:
-----------
Updated spidermonkey to 1.7.0 and took maintainership

Modified Paths:
--------------
    trunk/dports/lang/spidermonkey/Portfile
    trunk/dports/lang/spidermonkey/files/patch-config-Darwin.mk
    trunk/dports/lang/spidermonkey/files/spidermonkey-1.5-threadsafe.diff

Modified: trunk/dports/lang/spidermonkey/Portfile
===================================================================
--- trunk/dports/lang/spidermonkey/Portfile	2008-03-27 13:46:58 UTC (rev 35393)
+++ trunk/dports/lang/spidermonkey/Portfile	2008-03-27 14:45:58 UTC (rev 35394)
@@ -3,11 +3,10 @@
 PortSystem 1.0
 
 name			spidermonkey
-version			1.60
-revision                1
+version			1.7.0
 categories		lang
 platforms		darwin
-maintainers		nomaintainer
+maintainers		akira openmaintainer
 description		JavaScript-C Engine
 long_description	${description}
 
@@ -17,7 +16,9 @@
 			http://ftp.mozilla.org/pub/mozilla.org/js/older-packages/ \
 			ftp://ftp.mozilla.org/pub/mozilla.org/js/older-packages/
 distname		js-${version}
-checksums		md5 bd8f021e43a8fbbec55ac2cd3d483243
+checksums		md5 5571134c3863686b623ebe4e6b1f6fe6 \
+			sha1 1a99e8e10cb6600a03ea98895583a8ed42136d1f \
+			rmd160 6eadf1ac7c10a13b3db3d499856c9e18ddbcdfdb
 
 depends_build		port:readline \
 			port:nspr
@@ -39,7 +40,7 @@
 
 use_configure	no
 
-build.args              -j1 -f Makefile.ref LIBDIR="/lib" SO_SUFFIX=dylib JS_THREADSAFE=1
+build.args              -f Makefile.ref LIBDIR="/lib" SO_SUFFIX=dylib JS_THREADSAFE=1
 
 post-build {
 	system "ranlib ${worksrcpath}/Darwin_OPT.OBJ/libjs.a"

Modified: trunk/dports/lang/spidermonkey/files/patch-config-Darwin.mk
===================================================================
--- trunk/dports/lang/spidermonkey/files/patch-config-Darwin.mk	2008-03-27 13:46:58 UTC (rev 35393)
+++ trunk/dports/lang/spidermonkey/files/patch-config-Darwin.mk	2008-03-27 14:45:58 UTC (rev 35394)
@@ -1,7 +1,5 @@
-$NetBSD: patch-ac,v 1.2 2006/12/05 18:04:18 tron Exp $
-
---- config/Darwin.mk.orig	2005-02-12 20:10:33.000000000 +0000
-+++ config/Darwin.mk	2006-12-05 16:41:04.000000000 +0000
+--- config/Darwin.mk.orig	2008-03-27 00:54:53.000000000 +0900
++++ config/Darwin.mk	2008-03-27 00:57:23.000000000 +0900
 @@ -43,13 +43,13 @@
  # Just ripped from Linux config
  #
@@ -15,12 +13,12 @@
 +OS_CFLAGS = -DJS_THREADSAFE -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DDARWIN
  
  RANLIB = ranlib
--MKSHLIB = libtool $(XMKSHLIBOPTS) -framework System
+-MKSHLIB = $(CC) -dynamiclib $(XMKSHLIBOPTS) -framework System
 +MKSHLIB = $(CC) -framework System -dynamiclib $(XMKSHLIBOPTS) -lm -lplds4 -lplc4 -lnspr4 $(LDFLAGS)
  
- #.c.o:
- #      $(CC) -c -MD $*.d $(CFLAGS) $<
-@@ -57,7 +57,6 @@
+ SO_SUFFIX = dylib
+ 
+@@ -59,7 +59,6 @@
  CPU_ARCH = $(shell uname -m)
  ifeq (86,$(findstring 86,$(CPU_ARCH)))
  CPU_ARCH = x86
@@ -28,7 +26,7 @@
  endif
  GFX_ARCH = x
  
-@@ -65,14 +64,6 @@
+@@ -67,14 +66,6 @@
  
  ASFLAGS += -x assembler-with-cpp
  

Modified: trunk/dports/lang/spidermonkey/files/spidermonkey-1.5-threadsafe.diff
===================================================================
--- trunk/dports/lang/spidermonkey/files/spidermonkey-1.5-threadsafe.diff	2008-03-27 13:46:58 UTC (rev 35393)
+++ trunk/dports/lang/spidermonkey/files/spidermonkey-1.5-threadsafe.diff	2008-03-27 14:45:58 UTC (rev 35394)
@@ -1,16 +1,16 @@
---- Makefile.ref.orig	2006-03-06 03:31:04.000000000 +0000
-+++ Makefile.ref	2006-03-06 03:33:03.000000000 +0000
-@@ -61,11 +61,11 @@
+--- Makefile.ref.orig	2008-03-27 00:51:10.000000000 +0900
++++ Makefile.ref	2008-03-27 00:52:01.000000000 +0900
+@@ -63,11 +63,11 @@
  
  ifdef JS_THREADSAFE
  DEFINES += -DJS_THREADSAFE
--INCLUDES += -I../../dist/$(OBJDIR)/include
+-INCLUDES += -I$(DIST)/include/nspr
 +INCLUDES += -I__PREFIX__/include/nspr
  ifdef USE_MSVC
- OTHER_LIBS += ../../dist/$(OBJDIR)/lib/libnspr${NSPR_LIBSUFFIX}.lib
+ OTHER_LIBS += $(DIST)/lib/libnspr$(NSPR_LIBSUFFIX).lib
  else
--OTHER_LIBS += -L../../dist/$(OBJDIR)/lib -lnspr${NSPR_LIBSUFFIX}
-+OTHER_LIBS += -L__PREFIX__$(LIBDIR) -lnspr${NSPR_LIBSUFFIX}
+-OTHER_LIBS += -L$(DIST)/lib -lnspr$(NSPR_LIBSUFFIX)
++OTHER_LIBS += -L__PREFIX__/lib -lnspr$(NSPR_LIBSUFFIX)
  endif
  endif
  

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080327/ac7c1219/attachment.html 


More information about the macports-changes mailing list