Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Apr 2016 07:59:25 +0200
From:      John Marino <freebsd.contact@marino.st>
To:        Gerald Pfeifer <gerald@FreeBSD.org>, ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r413965 - head/lang/gcc7-devel
Message-ID:  <571DB23D.7000406@marino.st>
In-Reply-To: <201604250447.u3P4l4L7099866@repo.freebsd.org>
References:  <201604250447.u3P4l4L7099866@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?571DB23D.7000406>