Revision: 74120 http://trac.macports.org/changeset/74120 Author: jmr@macports.org Date: 2010-12-04 17:22:57 -0800 (Sat, 04 Dec 2010) Log Message: ----------- libemf: jump through tiger compatibility hoops (#27571) Modified Paths: -------------- trunk/dports/graphics/libemf/Portfile Modified: trunk/dports/graphics/libemf/Portfile =================================================================== --- trunk/dports/graphics/libemf/Portfile 2010-12-05 00:15:54 UTC (rev 74119) +++ trunk/dports/graphics/libemf/Portfile 2010-12-05 01:22:57 UTC (rev 74120) @@ -25,7 +25,17 @@ distname libEMF-${version} use_autoreconf yes -configure.cppflags-append -Xarch_ppc -D__PPC__=1 +platform darwin { + # this would be one line if it didn't have to work on tiger + if {{os.major} >= 9} { + configure.cppflags-append -Xarch_ppc -D__PPC__=1 + } else { + universal_variant no + if {${configure.build_arch} == "ppc"} { + configure.cppflags-append -D__PPC__=1 + } + } +} livecheck.type regex livecheck.url http://sourceforge.net/projects/libemf/files/