[87716] trunk/dports/shells/bash/Portfile

Ryan Schmidt ryandesign at macports.org
Fri Dec 2 00:22:05 PST 2011


On Dec 2, 2011, at 02:17, ryandesign at macports.org wrote:

> Revision: 87716
>          http://trac.macports.org/changeset/87716
> Author:   ryandesign at macports.org
> Date:     2011-12-02 00:17:27 -0800 (Fri, 02 Dec 2011)
> Log Message:
> -----------
> bash: fix build for non-default build_arch

Sorry, I neglected to realize this was not an openmaintainer port; hope you don't mind.

> Modified Paths:
> --------------
>    trunk/dports/shells/bash/Portfile
> 
> Modified: trunk/dports/shells/bash/Portfile
> ===================================================================
> --- trunk/dports/shells/bash/Portfile	2011-12-02 07:31:05 UTC (rev 87715)
> +++ trunk/dports/shells/bash/Portfile	2011-12-02 08:17:27 UTC (rev 87716)
> @@ -51,16 +51,15 @@
>                         bin:bison:bison
> depends_lib             port:gettext
> 
> +variant universal {}
> +
> configure.ldflags-append \
>     "-Wl,-search_paths_first -lncurses"
> configure.args          --mandir=${prefix}/share/man \
>                         --infodir=${prefix}/share/info \
> -                        --without-installed-readline
> +                        --without-installed-readline \
> +                        CFLAGS_FOR_BUILD="[get_canonical_archflags]"
> 
> -if {[variant_isset universal]} {
> -    configure.args-append "CFLAGS_FOR_BUILD=\"${configure.universal_cflags}\""
> -}





More information about the macports-dev mailing list