From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Feb 27 19:30:06 2007 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 [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E252516A403 for ; Tue, 27 Feb 2007 19:30:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id BEE3513C48E for ; Tue, 27 Feb 2007 19:30:06 +0000 (UTC) (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 l1RJU67W043137 for ; Tue, 27 Feb 2007 19:30:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l1RJU6SN043136; Tue, 27 Feb 2007 19:30:06 GMT (envelope-from gnats) Resent-Date: Tue, 27 Feb 2007 19:30:06 GMT Resent-Message-Id: <200702271930.l1RJU6SN043136@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, Dmitry Marakasov Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3E6B516A4C8 for ; Tue, 27 Feb 2007 19:26:41 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from cp65.agava.net (cp65.agava.net [89.108.66.215]) by mx1.freebsd.org (Postfix) with ESMTP id E427013C441 for ; Tue, 27 Feb 2007 19:26:40 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from clamav by cp65.agava.net with drweb-scanned (Exim 4.44 (FreeBSD)) id 1HM7y0-0004Gg-Oz for FreeBSD-gnats-submit@freebsd.org; Tue, 27 Feb 2007 22:26:28 +0300 Received: from [213.148.29.33] (helo=nexii.panopticon) by cp65.agava.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.44 (FreeBSD)) id 1HM7y0-0004G6-HS for FreeBSD-gnats-submit@freebsd.org; Tue, 27 Feb 2007 22:26:28 +0300 Received: from hades.panopticon (hades.panopticon [192.168.0.2]) by nexii.panopticon (Postfix) with ESMTP id BF0A117059 for ; Tue, 27 Feb 2007 22:27:39 +0300 (MSK) Received: by hades.panopticon (Postfix, from userid 1000) id 6BF584099; Tue, 27 Feb 2007 22:28:07 +0300 (MSK) Message-Id: <20070227192807.6BF584099@hades.panopticon> Date: Tue, 27 Feb 2007 22:28:07 +0300 (MSK) From: Dmitry Marakasov To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/109639: graphics/gsculpt: doesn't respect CXX/CXXFLAGS X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Dmitry Marakasov List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Feb 2007 19:30:07 -0000 >Number: 109639 >Category: ports >Synopsis: graphics/gsculpt: doesn't respect CXX/CXXFLAGS >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: Tue Feb 27 19:30:06 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Dmitry Marakasov >Release: FreeBSD 6.1-RELEASE-p12 i386 >Organization: >Environment: System: FreeBSD hades.panopticon 6.1-RELEASE-p12 FreeBSD 6.1-RELEASE-p12 #0: Tue Jan 16 23:12:21 MSK 2007 amdmi3@hades.panopticon:/usr/obj/usr/src/sys/HADES i386 >Description: % cd /usr/ports/graphics/gsculpt && make ... ===> Building for gsculpt-0.99.38.2 scons: Reading SConscript files ... scons: done reading SConscript files. scons: Building targets ... g++ -o cpp/CompGeometry/PolyTesselate.os -c -Wall -Werror -ffast-math -g -DGS_DllExport= -DGSCULPT_PLATFORM_POSIX -DGSCULPT_FPU_X86 -fPIC -Icpp -I/usr/local/include/python2.4 -I/usr/local/include -I/usr/X11R6/include cpp/CompGeometry/PolyTesselate.cpp while system compiler setting (${CXX} == c++) and flags (${CXXFLAGS} == -O2 -pipe -march=...) should be respected >How-To-Repeat: cd /usr/ports/graphics/gsculpt && CXX=yourcompiler CXXFLAGS=yourflags make >Fix: Not a fix, but just a hint: you may modify software's SConstruct like that: env = Environment(**ARGUMENTS) thus, all systemwide settings (CC/CXX/CFLAGS/CXXFLAGS and more), passed to scons automatically by ports collection (see ports/Mk/bsd.scons.mk) via SCONS_ENV will be understood by scons and imported into it's build environment. >Release-Note: >Audit-Trail: >Unformatted: