Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Jun 2017 04:57:44 +0000 (UTC)
From:      Gerald Pfeifer <gerald@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r442531 - in head/lang: gcc6 gcc6-devel
Message-ID:  <201706040457.v544viVU014438@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gerald
Date: Sun Jun  4 04:57:44 2017
New Revision: 442531
URL: https://svnweb.freebsd.org/changeset/ports/442531

Log:
  Replace the general USE_GCC=yes when building for powerpc64 by the
  specific USE_GCC=5 to be future proof when GCC 6 becomes the default
  (since USE_GCC=yes would then pull in lang/gcc6 which we obviously
  cannot require to build gcc6 itself nor gcc6-devel).  This also helps
  users who play with GCC_DEFAULT in Mk/bsd.default-versions.mk.
  
  Reported by:	jhibbits
  Discussed with:	andreast

Modified:
  head/lang/gcc6-devel/Makefile
  head/lang/gcc6/Makefile

Modified: head/lang/gcc6-devel/Makefile
==============================================================================
--- head/lang/gcc6-devel/Makefile	Sun Jun  4 04:17:48 2017	(r442530)
+++ head/lang/gcc6-devel/Makefile	Sun Jun  4 04:57:44 2017	(r442531)
@@ -72,7 +72,7 @@ CONFIGURE_TARGET=	x86_64-portbld-${OPSYS:tl}${OSREL}
 
 .if ${ARCH} == powerpc64
 CONFIGURE_ENV+=	UNAME_m="powerpc64"
-USE_GCC=	yes
+USE_GCC=	5	# Cannot require ourselves, needs to be at least 4.9.
 .endif
 
 .if ${ARCH} == "armv6" || ${ARCH} == "aarch64"

Modified: head/lang/gcc6/Makefile
==============================================================================
--- head/lang/gcc6/Makefile	Sun Jun  4 04:17:48 2017	(r442530)
+++ head/lang/gcc6/Makefile	Sun Jun  4 04:57:44 2017	(r442531)
@@ -68,7 +68,7 @@ CONFIGURE_TARGET=	x86_64-portbld-${OPSYS:tl}${OSREL}
 
 .if ${ARCH} == powerpc64
 CONFIGURE_ENV+=	UNAME_m="powerpc64"
-USE_GCC=	yes
+USE_GCC=	5	# Cannot require ourselves, needs to be at least 4.9.
 .endif
 
 .if ${ARCH} == "armv6" || ${ARCH} == "aarch64"



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