ports/175814: Boost-all cannot use libc++
Chen Xu
windoze.net at gmail.com
Mon Feb 4 05:30:00 UTC 2013
>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 at 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:
More information about the freebsd-ports-bugs
mailing list