ports/104918: Fix lang/spidermonkey to build multithreaded support

Anish Mistry amistry at am-productions.biz
Sun Oct 29 23:10:22 UTC 2006


>Number:         104918
>Category:       ports
>Synopsis:       Fix lang/spidermonkey to build multithreaded support
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 29 23:10:20 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Anish Mistry
>Release:        FreeBSD 6.2-PRERELEASE i386
>Organization:
AM Productions 
>Environment:


System: FreeBSD 6.2-PRERELEASE #0: Thu Oct 26 04:24:27 EDT 2006
    amistry at bigguy.am-productions.biz:/usr/home/amistry/storage/temp/usr/home/amistry/windows-share/build/src/sys/BIGGUY



>Description:


When the test harness was put under WITH_TEST the multithreaded stuff got caught under the if statement.  This broke avidemux2.  Re-enable multithreaded support.


>How-To-Repeat:





>Fix:


--- Makefile.patch begins here ---
--- Makefile.orig	Sun Oct 29 17:49:58 2006
+++ Makefile	Sun Oct 29 17:50:59 2006
@@ -6,7 +6,7 @@
 
 PORTNAME=	spidermonkey
 DISTVERSION=	1.5
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	lang
 MASTER_SITES=	MOZILLA:src,older
 MASTER_SITE_SUBDIR=	js/:src js/older-packages/:older
@@ -25,11 +25,6 @@
 		spidermonkey-patch-tests-js.bz2
 PATCH_SITES=	http://virtual-estates.net/~mi/port-stuff/
 BUILD_DEPENDS+=	${SITE_PERL}/Getopt/Mixed.pm:${PORTSDIR}/devel/p5-Getopt-Mixed
-LIB_DEPENDS=	nspr4.1:${PORTSDIR}/devel/nspr
-MAKE_ARGS+=	JS_THREADSAFE=YES \
-		PROG_LIBS="-lreadline -ltermcap -lm ${PTHREAD_LIBS}" \
-		LDFLAGS="-L${LOCALBASE}/lib"
-CFLAGS+=	-I${LOCALBASE}/include/nspr
 
 DISTFILES+=	js-tests-20021118${EXTRACT_SUFX}:older
 post-build:	test
@@ -45,6 +40,12 @@
 		js1_5/Array/regress-101964.js
 
 .endif
+
+LIB_DEPENDS=	nspr4.1:${PORTSDIR}/devel/nspr
+MAKE_ARGS+=	JS_THREADSAFE=YES \
+		PROG_LIBS="-lreadline -ltermcap -lm ${PTHREAD_LIBS}" \
+		LDFLAGS="-L${LOCALBASE}/lib"
+CFLAGS+=	-I${LOCALBASE}/include/nspr
 
 USE_GMAKE=	YES
 MAKEFILE=	Makefile.ref
--- Makefile.patch ends here ---



>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list