svn commit: r413965 - head/lang/gcc7-devel

John Marino freebsd.contact at marino.st
Mon Apr 25 05:59:37 UTC 2016


On 4/25/2016 6:47 AM, Gerald Pfeifer wrote:
> Author: gerald
> Date: Mon Apr 25 04:47:04 2016
> New Revision: 413965
> URL: https://svnweb.freebsd.org/changeset/ports/413965
>
> Log:
>    Update to the 20160417 development snapshot (early stage 1) of GCC 7.
>
>    Only override CONFIGURE_TARGET for amd64 which is x86-64/x86_64 for the
>    rest of the world including GNU and GCC.  For all other architectures
>    it already defaults to the value we were setting.
>
> Modified:
>    head/lang/gcc7-devel/Makefile
>    head/lang/gcc7-devel/distinfo
>
> Modified: head/lang/gcc7-devel/Makefile
> ==============================================================================
> --- head/lang/gcc7-devel/Makefile	Sun Apr 24 22:41:27 2016	(r413964)
> +++ head/lang/gcc7-devel/Makefile	Mon Apr 25 04:47:04 2016	(r413965)
> @@ -2,7 +2,7 @@
>   # $FreeBSD$
>
>   PORTNAME=	gcc
> -PORTVERSION=	7.0.0.s20160417
> +PORTVERSION=	7.0.0.s20160424
>   CATEGORIES=	lang java
>   MASTER_SITES=	GCC/snapshots/${DISTVERSION}
>   PKGNAMESUFFIX=	${SUFFIX}-devel
> @@ -64,8 +64,6 @@ CONFIGURE_ARGS+=	--disable-multilib
>
>   .if ${ARCH} == "amd64"
>   CONFIGURE_TARGET=	x86_64-portbld-${OPSYS:tl}${OSREL}
> -.else
> -CONFIGURE_TARGET=	${ARCH}-portbld-${OPSYS:tl}${OSREL}
>   .endif

Perhaps replacing entire condition with
CONFIGURE_TARGET= ${ARCH:S/amd64/x86_64}-portbld-${OPSYS:tl}${OSREL}
is the cleanest approach.  That technique is used in a lot of ports.

John


More information about the svn-ports-head mailing list