From swell.k@gmail.com  Wed Mar 25 09:31:08 2009
Return-Path: <swell.k@gmail.com>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 35D7A1065700
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 25 Mar 2009 09:31:08 +0000 (UTC)
	(envelope-from swell.k@gmail.com)
Received: from mail-qy0-f134.google.com (mail-qy0-f134.google.com [209.85.221.134])
	by mx1.freebsd.org (Postfix) with ESMTP id C94BC8FC31
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 25 Mar 2009 09:31:07 +0000 (UTC)
	(envelope-from swell.k@gmail.com)
Received: by qyk40 with SMTP id 40so4294531qyk.3
        for <FreeBSD-gnats-submit@freebsd.org>; Wed, 25 Mar 2009 02:31:07 -0700 (PDT)
Received: by 10.224.29.3 with SMTP id o3mr3886951qac.115.1237973467272;
        Wed, 25 Mar 2009 02:31:07 -0700 (PDT)
Received: from localhost (95-24-174-59.broadband.corbina.ru [95.24.174.59])
        by mx.google.com with ESMTPS id 8sm7114252qwj.6.2009.03.25.02.31.05
        (version=TLSv1/SSLv3 cipher=RC4-MD5);
        Wed, 25 Mar 2009 02:31:06 -0700 (PDT)
Message-Id: <864oxix83p.fsf@gmail.com>
Date: Wed, 25 Mar 2009 12:30:34 +0300
From: Anonymous <swell.k@gmail.com>
To: FreeBSD-gnats-submit@freebsd.org
Subject: [patch] devel/boost: mark as MAKE_JOBS_SAFE
X-Send-Pr-Version: 3.113

>Number:         133054
>Category:       ports
>Synopsis:       [patch] devel/boost: mark as MAKE_JOBS_SAFE
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    lwhsu
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 25 09:40:01 UTC 2009
>Closed-Date:    Thu Apr 09 16:32:32 UTC 2009
>Last-Modified:  Thu Apr  9 16:40:02 UTC 2009
>Originator:     Anonymous
>Release:        FreeBSD 8.0-CURRENT amd64
>Organization:
>Environment:
System: FreeBSD luffy 8.0-CURRENT FreeBSD 8.0-CURRENT #4 r190403M: Wed Mar 25 08:40:18 UTC 2009     root@luffy:/usr/obj/usr/src/sys/PHOENIX  amd64
CPU: Intel(R) Core(TM)2 Duo CPU     E8400  @ 3.00GHz (3216.23-MHz K8-class CPU)
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs

devel/ccache installed and used

$ make showconfig
===> The following configuration options are available for boost-python-1.34.1:
     VERBOSE_BUILD=off "Show compiler messages"
     DEBUG=off "Build debugging symbols"
     THREADS=on "Thread support"
     ICU=on "Boost.Regex with ICU unicode support"
     OPTIMIZED_CFLAGS=on "Enable -O3 optimization"

WITH_PYTHON defined
WITH_PYSTE defined

tested without python/pyste, too
>Description:
Utilize more horsepower by building the port using several instances
of GCC on SMP boxes.
>How-To-Repeat:
Apply attached patch and run

$ make MAKE_JOBS_NUMBER=8
>Fix:
Use feature introduced by recent commit to Mk/bsd.port.mk

http://docs.FreeBSD.org/cgi/mid.cgi?200903221028.n2MASrjk002315
http://docs.FreeBSD.org/cgi/mid.cgi?1237901632.1849.19.camel

--- mark.diff begins here ---
Index: devel/boost/Makefile
===================================================================
RCS file: /home/csup/ports/devel/boost/Makefile,v
retrieving revision 1.42
diff -u -p -r1.42 Makefile
--- devel/boost/Makefile	20 Feb 2009 01:13:49 -0000	1.42
+++ devel/boost/Makefile	25 Mar 2009 08:58:48 -0000
@@ -17,6 +17,7 @@ COMMENT=	Free peer-reviewed portable C++
 
 USE_BZIP2=	yes
 USE_LDCONFIG=	yes
+MAKE_JOBS_SAFE=	yes
 WRKSRC=		${WRKDIR}/${PORTNAME}_${PORTVERSION:S/./_/g}
 
 .if defined(WITH_PYTHON) || defined (WITH_PYSTE)
@@ -87,6 +88,7 @@ PLIST_SUB+=	BOOST_PYSTE="@comment "
 BOOST_TOOLS=	gcc
 
 BJAM_OPTIONS=	--layout=system
+BJAM_OPTIONS+=	${_MAKE_JOBS}
 .if defined (WITH_VERBOSE_BUILD)
 BJAM_OPTIONS+=	-d2
 .endif
--- mark.diff ends here ---
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Wed Mar 25 09:40:12 UTC 2009 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=133054 

From: Edwin Groothuis <edwin@FreeBSD.org>
To: churanov.port.maintainer@gmail.com
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/133054: [patch] devel/boost: mark as MAKE_JOBS_SAFE
Date: Wed, 25 Mar 2009 09:40:10 UT

 Maintainer of devel/boost,
 
 Please note that PR ports/133054 has just been submitted.
 
 If it contains a patch for an upgrade, an enhancement or a bug fix
 you agree on, reply to this email stating that you approve the patch
 and a committer will take care of it.
 
 The full text of the PR can be found at:
     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/133054
 
 -- 
 Edwin Groothuis via the GNATS Auto Assign Tool
 edwin@FreeBSD.org

From: Alexander Churanov <alexanderchuranov@gmail.com>
To: bug-followup@freebsd.org
Cc: churanov.port.maintainer@gmail.com
Subject: Re: ports/133054: [patch] devel/boost: mark as MAKE_JOBS_SAFE
Date: Wed, 25 Mar 2009 19:51:18 +0300

 Edwin,
 
 I agree with the patch. Suggest checking it in.
 I've applied the patch, rebuilt patched devel/boost-python and
 audio/raul. The latter port depends on boost, I've used it as a basic
 test.
 
 Alexander Churanov
State-Changed-From-To: feedback->open 
State-Changed-By: linimon 
State-Changed-When: Thu Mar 26 02:08:11 UTC 2009 
State-Changed-Why:  
Maintainer approved. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=133054 
Responsible-Changed-From-To: freebsd-ports-bugs->lwhsu 
Responsible-Changed-By: lwhsu 
Responsible-Changed-When: Mon Mar 30 20:33:18 UTC 2009 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=133054 
State-Changed-From-To: open->closed 
State-Changed-By: lwhsu 
State-Changed-When: Thu Apr 9 16:32:31 UTC 2009 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=133054 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/133054: commit references a PR
Date: Thu,  9 Apr 2009 16:32:28 +0000 (UTC)

 lwhsu       2009-04-09 16:32:19 UTC
 
   FreeBSD ports repository
 
   Modified files:
     devel/boost          Makefile 
   Log:
   - mark as MAKE_JOBS_SAFE, also apply ${_MAKE_JOBS} to BJAM_OPTIONS
   
   PR:             ports/133054
   Submitted by:   Anonymous <swell.k AT gmail.com>
   Approved by:    Alexander Churanov <alexanderchuranov AT gmail.com> (maintainer)
   
   Revision  Changes    Path
   1.44      +2 -0      ports/devel/boost/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
