[104807] trunk/dports/devel/bootstrap_cmds/Portfile

Joshua Root jmr at macports.org
Tue Apr 2 23:15:22 PDT 2013


> Revision: 104807
>           https://trac.macports.org/changeset/104807
> Author:   mfeiri at 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'
> +    }

Perhaps you are looking for 'installs_libs no' and/or
depends_skip_archcheck? And given that the only thing that depends on
bootstrap_cmds appears to be xnu-headers, possibly 'supported_archs
noarch' as well?

- Josh


More information about the macports-dev mailing list