[112994] trunk/dports/science/gnuradio/Portfile

Michael Dickens michaelld at macports.org
Wed Nov 6 17:07:37 PST 2013


On Nov 6, 2013, at 7:45 PM, Ryan Schmidt <ryandesign at macports.org>
wrote:
> On Nov 6, 2013, at 08:32, michaelld at macports.org wrote:
>> +configure.cppflags-delete -I${prefix}/include
>> +configure.cflags-delete -I${prefix}/include
>> +configure.cxxflags-delete -I${prefix}/include
>
> Note that cflags and cxxflags do not contain that value to begin with, so those two porfiles lines do nothing.

I am running on OSX 10.8, using Xcode 5.0.1 (latest).

Without those changes:
{{{
DEBUG: Environment: CPATH='/opt/local/include'
CPPFLAGS='-I/opt/local/include' CFLAGS='-pipe -Os -I/opt/local/include
-arch x86_64' CXXFLAGS='-pipe -Os -I/opt/local/include -arch x86_64
-stdlib=libstdc++' LIBRARY_PATH='/opt/local/lib'
MACOSX_DEPLOYMENT_TARGET='10.8' F77FLAGS='-m64' CXX='/usr/bin/clang++'
CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/b
uild/_opt_MacPorts_trunk_dports_science_gr-osmosdr/gr-osmosdr/work/.CC_
PRINT_OPTIONS' F90FLAGS='-pipe -Os -m64' LDFLAGS='-L/opt/local/lib
-Wl,-headerpad_max_install_names -arch x86_64'
__CFPREFERENCES_AVOID_DAEMON='1' FCFLAGS='-pipe -Os -m64'
OBJC='/usr/bin/clang' OBJCXX='/usr/bin/clang++'
INSTALL='/usr/bin/install -c' OBJCFLAGS='-pipe -Os -arch x86_64'
OBJCXXFLAGS='-pipe -Os -arch x86_64 -stdlib=libstdc++' FFLAGS='-pipe
-Os' CC_PRINT_OPTIONS='YES' CC='/usr/bin/clang'
}}}

With those changes:
{{{
DEBUG: Environment: CPATH='/opt/local/include' CFLAGS='-pipe -Os -arch
x86_64' CXXFLAGS='-pipe -Os -arch x86_64 -stdlib=libstdc++'
LIBRARY_PATH='/opt/local/lib' MACOSX_DEPLOYMENT_TARGET='10.8'
F77FLAGS='-m64' CXX='/usr/bin/clang++'
CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_MacPorts_trunk_dports_science_gr-osmosdr/gr-osmosdr/work/.CC_PRINT_OPTIONS'
F90FLAGS='-pipe -Os -m64' LDFLAGS='-Wl,-headerpad_max_install_names
-arch x86_64' __CFPREFERENCES_AVOID_DAEMON='1' FCFLAGS='-pipe -Os -m64'
OBJC='/usr/bin/clang' OBJCXX='/usr/bin/clang++'
INSTALL='/usr/bin/install -c' OBJCFLAGS='-pipe -Os -arch x86_64'
OBJCXXFLAGS='-pipe -Os -arch x86_64 -stdlib=libstdc++' FFLAGS='-pipe
-Os' CC_PRINT_OPTIONS='YES' CC='/usr/bin/clang'
}}}

So, yes, at least on my setup I do need them.  I have done nothing
special in my setup. Maybe they are not needed in 10.9?

I don't remember these items being part of the usual build, but when I
was checking today I saw them.  Maybe they were added with the recent
CMake changes? - MLD


More information about the macports-dev mailing list