ports/109639: graphics/gsculpt: doesn't respect CXX/CXXFLAGS

Dmitry Marakasov amdmi3 at amdmi3.ru
Tue Feb 27 19:30:07 UTC 2007


>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 at 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:



More information about the freebsd-ports-bugs mailing list