[MacPorts] #24672: mlt needs to ensure it's UsingTheRightCompiler
MacPorts
noreply at macports.org
Mon May 3 15:57:16 PDT 2010
#24672: mlt needs to ensure it's UsingTheRightCompiler
-------------------------------------+--------------------------------------
Reporter: ryandesign@… | Owner: dan@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.8.2
Keywords: | Port: mlt
-------------------------------------+--------------------------------------
Comment(by dan@…):
With the following patch, when I build the port in debug mode, I see it
calling make with CC="/usr/bin/gcc-4.2" and compilation lines are indeed
using /usr/bin/gcc-4.2 since the Makefiles use $(CC). Similar goes for
src/mlt++ which uses $(CXX).
{{{
--- multimedia/mlt/Portfile.orig 2010-05-03 15:48:00.000000000
-0700
+++ multimedia/mlt/Portfile 2010-05-03 15:49:38.000000000 -0700
@@ -56,6 +56,7 @@
configure.cflags-append "-I${prefix}/libexec/qt4-mac/include"
configure.ldflags-append "-L${prefix}/lib"
build.env CFLAGS="${configure.cflags}"
LDFLAGS="${configure.ldflags}"
+build.args-append CC="${configure.cc}" CXX="${configure.cxx}"
CPP="${configure.cpp}"
variant no_x11 {
configure.args-append --disable-gtk2
}}}
--
Ticket URL: <http://trac.macports.org/ticket/24672#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list