[macports-ports] branch master updated: arc: re-add universal variant

Ryan Schmidt ryandesign at macports.org
Mon Jan 30 09:57:46 UTC 2017


> On Jan 26, 2017, at 21:09, Kurt Hindenburg <khindenburg at macports.org> wrote:
> 
> Kurt Hindenburg (kurthindenburg) pushed a commit to branch master
> in repository macports-ports.
> 
> 
> https://github.com/macports/macports-ports/commit/d108da56e7944b3d5145cda9d004f79ec92e992d
> 
> The following commit(s) were added to refs/heads/master by this push:
> 
>      new d108da5  arc: re-add universal variant
> 
> d108da5 is described below
> 
> 
> commit d108da56e7944b3d5145cda9d004f79ec92e992d
> 
> Author: Kurt Hindenburg <khindenburg at macports.org>
> AuthorDate: Thu Jan 26 22:09:04 2017 -0500
> 
> 
>     arc: re-add universal variant
> 
> ---
>  archivers/arc/Portfile | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> 
> diff --git a/archivers/arc/Portfile b/archivers/arc/Portfile
> 
> index 10308fe..870c3a0 100644
> 
> --- a/archivers/arc/Portfile
> 
> +++ b/archivers/arc/Portfile
> 
> @@ -24,12 +24,12 @@ patchfiles          patch-gcc-warnings.diff \
> 
>  
>  use_configure       no
>  
> 
> -build.env-append    CC=${configure.cc} \
> 
> +build.env-append    CC="${configure.cc} [get_canonical_archflags cc]" \
> 
>                      CFLAGS='${configure.cflags} [get_canonical_archflags cc]' \
> 
> -                    OPT='${configure.cflags} [get_canonical_archflags cc]' \
> 
>                      LDFLAGS='${configure.ldflags} [get_canonical_archflags ld]' \
>                      PREFIX='${prefix}'
>  
> 
> +variant universal {}

This builds non-universally. The universal variant must be declared before the get_canonical_archflags procedure is called for the first time, otherwise get_canonical_archflags doesn't know there is a universal variant.




More information about the macports-dev mailing list