From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Oct 29 23:10:22 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E2BF416A412 for ; Sun, 29 Oct 2006 23:10:21 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 83ED343D49 for ; Sun, 29 Oct 2006 23:10:21 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k9TNALHf018593 for ; Sun, 29 Oct 2006 23:10:21 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k9TNALDx018591; Sun, 29 Oct 2006 23:10:21 GMT (envelope-from gnats) Resent-Date: Sun, 29 Oct 2006 23:10:21 GMT Resent-Message-Id: <200610292310.k9TNALDx018591@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Anish Mistry" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C99BF16A40F for ; Sun, 29 Oct 2006 23:00:31 +0000 (UTC) (envelope-from amistry@am-productions.biz) Received: from ms-smtp-03.ohiordc.rr.com (ms-smtp-03.ohiordc.rr.com [65.24.5.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id A8FA143D6A for ; Sun, 29 Oct 2006 23:00:30 +0000 (GMT) (envelope-from amistry@am-productions.biz) Received: from bigguy.am-productions.biz (cpe-24-210-75-119.columbus.res.rr.com [24.210.75.119]) by ms-smtp-03.ohiordc.rr.com (8.13.6/8.13.6) with ESMTP id k9TN0Mrn015611; Sun, 29 Oct 2006 18:00:23 -0500 (EST) Message-Id: <1162162904.21550@bigguy.am-productions.biz> Date: Sun, 29 Oct 2006 18:01:44 -0500 From: "Anish Mistry" To: "FreeBSD gnats submit" X-Send-Pr-Version: gtk-send-pr 0.4.7 Cc: citric@cubicone.tmetic.com Subject: ports/104918: Fix lang/spidermonkey to build multithreaded support X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Oct 2006 23:10:22 -0000 >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@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: