gcc44
Jack Howarth
howarth at bromo.med.uc.edu
Sat Sep 12 20:45:47 PDT 2009
What options do we have in the Portfile syntax to
to extract out the darwin release? On fink we used...
darwinvers=`uname -r|cut -f1 -d.`
in a bash shell script. I ask because the 32-bit
compiler build is unoptimized unless we manage to get...
if {[info exists build_arch] && ${os.platform} == "darwin"} {
if {(${os.arch} == "i386" && $build_arch == "i386") {
configure.post_args --with-arch=nocona --with-tune=generic --host=i686-apple-darwin10 --build=i686-apple-darwin10 --target=i686-apple-darwin10
}
}
but I need some syntax that will allow me to determine the numerical
darwin release there...ie darwin8, darwin9, darwin10, etc.
More information about the macports-dev
mailing list