[103366] trunk/dports/lang/chicken

Ryan Schmidt ryandesign at macports.org
Sat Feb 23 03:07:40 PST 2013


On Feb 23, 2013, at 01:26, larryv at macports.org wrote:

> Revision: 103366
>          https://trac.macports.org/changeset/103366
> Author:   larryv at macports.org
> Date:     2013-02-22 23:26:19 -0800 (Fri, 22 Feb 2013)
> Log Message:
> -----------
> chicken: Update to 4.8.0.2 (maintainer timeout, #37859).
> 
> Also:
> - Force build to respect build_arch.
> - Restrict +universal to i386/ppc, which is all upstream supports.


> Modified: trunk/dports/lang/chicken/Portfile
> ===================================================================
> --- trunk/dports/lang/chicken/Portfile	2013-02-23 07:24:02 UTC (rev 103365)
> +++ trunk/dports/lang/chicken/Portfile	2013-02-23 07:26:19 UTC (rev 103366)


> +# Upstream explicitly requires GNU make.
> +build.type	gnu

build.type gnu is the default; see the Guide. You don't need to list it.


> +# Restrict universal variant to Tiger and Leopard because upstream only
> +# supports i386/ppc universal binaries.
> +if {${os.platform} == "darwin" && ${os.major} < 10} {
> +    variant universal {}
> }

You're basing this on the default values of universal_archs in macports.conf on those OS versions; the user could have changed them. Instead I think you should set configure.universal_archs to i386 ppc; I've done that in some other ports. Or maybe set supported_archs i386 ppc if the universal variant is set.

Why do they support x86_64 non-universal but not universal? Can the muniversal variant help alleviate whatever the universal issue is?





More information about the macports-dev mailing list