Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Sep 2018 22:26:16 +0000 (UTC)
From:      Kevin Bowling <kbowling@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r478993 - in head/lang: gcc7 gcc7-devel
Message-ID:  <201809042226.w84MQGAG070602@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kbowling
Date: Tue Sep  4 22:26:16 2018
New Revision: 478993
URL: https://svnweb.freebsd.org/changeset/ports/478993

Log:
  lang/gcc7{,-devel}: Fix powerpc64 USE_GCC dependency loop
  
  Approved by:	gerald (maintainer), timur (mentor)
  Differential Revision:	https://reviews.freebsd.org/D16784

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

Modified: head/lang/gcc7-devel/Makefile
==============================================================================
--- head/lang/gcc7-devel/Makefile	Tue Sep  4 21:54:22 2018	(r478992)
+++ head/lang/gcc7-devel/Makefile	Tue Sep  4 22:26:16 2018	(r478993)
@@ -64,7 +64,9 @@ CONFIGURE_TARGET=	x86_64-portbld-${OPSYS:tl}${OSREL}
 
 .elif ${ARCH} == powerpc64
 CONFIGURE_ENV+=	UNAME_m="powerpc64"
-USE_GCC=	yes
+USE_GCC=	5	# This port requires at least GCC 4.9, and we need
+			# to ensure not to cause a dependency on itself (so
+			# USE_GCC=yes or USE_GCC=X+ are not an option).
 
 .elif ${ARCH} == powerpcspe
 CONFIGURE_ARGS+=	--with-cpu=8540 --enable-e500_double --without-fp

Modified: head/lang/gcc7/Makefile
==============================================================================
--- head/lang/gcc7/Makefile	Tue Sep  4 21:54:22 2018	(r478992)
+++ head/lang/gcc7/Makefile	Tue Sep  4 22:26:16 2018	(r478993)
@@ -60,7 +60,9 @@ CONFIGURE_TARGET=	x86_64-portbld-${OPSYS:tl}${OSREL}
 
 .elif ${ARCH} == powerpc64
 CONFIGURE_ENV+=	UNAME_m="powerpc64"
-USE_GCC=	yes
+USE_GCC=	5	# This port requires at least GCC 4.9, and we need
+			# to ensure not to cause a dependency on itself (so
+			# USE_GCC=yes or USE_GCC=X+ are not an option).
 
 .elif ${ARCH} == powerpcspe
 CONFIGURE_ARGS+=	--with-cpu=8540 --enable-e500_double --without-fp



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