Ticket #24899: mcpp-use-configured-archs.diff
File mcpp-use-configured-archs.diff, 812 bytes (added by jmroot (Joshua Root), 15 years ago) |
---|
-
Portfile
28 28 patch-src__system.H \ 29 29 fix-core-dumps.patch 30 30 configure.args-append --enable-mcpplib --mandir=${prefix}/share/man 31 # +universal: Install universal binary of mcpp for i386 and ppc.31 # +universal: Install universal binary of mcpp. 32 32 # Do not append these options to configure, but append to make. 33 variant universal { build.args-append CFLAGS+='-isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.4 -arch i386 -arch ppc' } 33 variant universal { build.args-append CFLAGS+='${configure.universal_cflags}' } 34 if {![variant_isset universal]} { 35 build.args-append CFLAGS+='${configure.cc_archflags}' 36 }