[104807] trunk/dports/devel/bootstrap_cmds/Portfile
Revision: 104807 https://trac.macports.org/changeset/104807 Author: mfeiri@macports.org Date: 2013-04-02 17:02:36 -0700 (Tue, 02 Apr 2013) Log Message: ----------- bootstrap_cmds: use the right compiler and add an ugly workaround to cheat architecture dependency tracking Modified Paths: -------------- trunk/dports/devel/bootstrap_cmds/Portfile Modified: trunk/dports/devel/bootstrap_cmds/Portfile =================================================================== --- trunk/dports/devel/bootstrap_cmds/Portfile 2013-04-02 22:37:31 UTC (rev 104806) +++ trunk/dports/devel/bootstrap_cmds/Portfile 2013-04-03 00:02:36 UTC (rev 104807) @@ -26,15 +26,28 @@ # for replath and decomment if {${os.major} < 12} { version 80 - revision 2 + revision 3 checksums rmd160 072e399562eb021e4fa0cd66132153afcc02f417 \ sha256 2ae65cd2ca6f0f684b25aad46a649aeb95a774d06a8287c59962fba42900a2fc - xcode.project migcom.tproj/migcom.xcodeproj + xcode.project migcom.tproj/migcom.xcodeproj + # overwrite ARCHS with working fallbacks to cheat dependency tracking + if {${configure.build_arch} == "x86_64"} { + xcode.build.settings ARCHS=i386 + } + if {${configure.build_arch} == "ppc64"} { + xcode.build.settings ARCHS=ppc + } + xcode.destroot.settings ${xcode.build.settings} + if {[variant_isset universal]} { + xcode.build.settings ARCHS='ppc i386' + xcode.destroot.settings ARCHS='ppc i386' + } + pre-build { file delete ${worksrcpath}/Makefile - system "make -C ${worksrcpath} decomment.tproj/decomment relpath.tproj/relpath" + system "CC=${configure.cc} make -C ${worksrcpath} decomment.tproj/decomment relpath.tproj/relpath" } post-destroot {
participants (1)
-
mfeiri@macports.org