From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Feb 4 05:30:00 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id DD3CB90C for ; Mon, 4 Feb 2013 05:30:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id ACA33DFC for ; Mon, 4 Feb 2013 05:30:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r145U0CO061328 for ; Mon, 4 Feb 2013 05:30:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r145U0NT061323; Mon, 4 Feb 2013 05:30:00 GMT (envelope-from gnats) Resent-Date: Mon, 4 Feb 2013 05:30:00 GMT Resent-Message-Id: <201302040530.r145U0NT061323@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, Chen Xu Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 779F67FE for ; Mon, 4 Feb 2013 05:25:21 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 53F86DDF for ; Mon, 4 Feb 2013 05:25:21 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.5/8.14.5) with ESMTP id r145PLwP037378 for ; Mon, 4 Feb 2013 05:25:21 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.5/8.14.5/Submit) id r145PLfN037377; Mon, 4 Feb 2013 05:25:21 GMT (envelope-from nobody) Message-Id: <201302040525.r145PLfN037377@red.freebsd.org> Date: Mon, 4 Feb 2013 05:25:21 GMT From: Chen Xu To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/175814: Boost-all cannot use libc++ X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Feb 2013 05:30:00 -0000 >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: