Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Feb 2013 05:25:21 GMT
From:      Chen Xu <windoze.net@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/175814: Boost-all cannot use libc++
Message-ID:  <201302040525.r145PLfN037377@red.freebsd.org>
Resent-Message-ID: <201302040530.r145U0NT061323@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         175814
>Category:       ports
>Synopsis:       Boost-all cannot use libc++
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 04 05:30:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Chen Xu
>Release:        9-STABLE
>Organization:
0d0a.com
>Environment:
FreeBSD u.0d0a.com 9.1-STABLE FreeBSD 9.1-STABLE #2 r245897: Fri Jan 25 15:47:24 CST 2013     chenxu@u.0d0a.com:/usr/obj/usr/src/sys/GENERIC  amd64

>Description:
devel/boost-* hardcoded BJAM_ARGS in compiled.mk, there is no way to customize this arguments, thus cannot use c++11/libc++

>How-To-Repeat:
Build and install devel/boost-* ports, check /usr/local/lib/libboost_*.so, they are all linked to libstdc++ regardless what compilation/linking flags are set
>Fix:
Change devel/boost-all/compiled.mk, use "BJAM_ARGS += ..." instead of "BAJM_ARGS = ...", then we can effectively set "BJAMS_ARGS=..." in /etc/make.conf

Patch attached with submission follows:

--- devel/boost-all/compiled.mk	2013-02-04 11:22:08.525015918 +0800
+++ devel/boost-all/compiled.mk.orig	2013-02-04 13:19:38.019015963 +0800
@@ -9,7 +9,7 @@
 PKG_MESSAGE_FILE_THREADS=	${PORTSDIR}/devel/boost-all/pkg-message.threads
 PKG_MESSAGE_FILE_PYTHON=	${PORTSDIR}/devel/boost-all/pkg-message.python
 
-BJAM_ARGS+=	--layout=system \
+BJAM_ARGS=	--layout=system \
 		--prefix=${PREFIX}
 
 .if ${ARCH} == amd64


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201302040525.r145PLfN037377>