svn commit: r478993 - in head/lang: gcc7 gcc7-devel

Kevin Bowling kbowling at FreeBSD.org
Tue Sep 4 22:26:17 UTC 2018


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


More information about the svn-ports-head mailing list