Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Feb 2017 09:31:08 +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: r433214 - head/lang/gcc48
Message-ID:  <201702030931.v139V8VD094278@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gerald
Date: Fri Feb  3 09:31:08 2017
New Revision: 433214
URL: https://svnweb.freebsd.org/changeset/ports/433214

Log:
  Remove traces of armv6hf which no longer exists as an arch. [1]
  
  Remove redundant definition of DISTVERSION and simplify GCC_VERSION.
  
  Reported by:	andreast [1]

Modified:
  head/lang/gcc48/Makefile

Modified: head/lang/gcc48/Makefile
==============================================================================
--- head/lang/gcc48/Makefile	Fri Feb  3 09:26:36 2017	(r433213)
+++ head/lang/gcc48/Makefile	Fri Feb  3 09:31:08 2017	(r433214)
@@ -27,12 +27,11 @@ BUILD_DEPENDS+=	runtest:misc/dejagnu
 CPE_VENDOR=	gnu
 CPE_VERSION=	${GCC_VERSION}
 
-# DISTVERSION relates to downloads, GCC_VERSION and SUFFIX to names
-# of executables and directories once installed.
-DISTVERSION=	${PORTVERSION}
-GCC_VERSION=	${PORTVERSION:C/(.+)\.[0-9]{8}/\1/}
+# GCC_VERSION and SUFFIX relate to names of executables and directories
+# once installed.
+GCC_VERSION=	${PORTVERSION}
 SUFFIX=		${PORTVERSION:C/([0-9]+).([0-9]+).*/\1\2/}
-ONLY_FOR_ARCHS=	amd64 armv6 armv6hf i386 powerpc powerpc64 sparc64
+ONLY_FOR_ARCHS=	amd64 armv6 i386 powerpc powerpc64 sparc64
 USES=		compiler cpe gmake iconv libtool makeinfo perl5 tar:bzip2
 USE_BINUTILS=	yes
 USE_PERL5=	build
@@ -66,7 +65,7 @@ CONFIGURE_TARGET=	x86_64-portbld-${OPSYS
 CONFIGURE_ENV+=	UNAME_m="powerpc64"
 .endif
 
-.if ${ARCH} == "armv6" || ${ARCH} == "armv6hf"
+.if ${ARCH} == "armv6"
 # Override sys.mk including -O in CFLAGS which breaks libgomp building.
 CFLAGS:=	${CFLAGS:S/-O/-O2/g}
 . if ${COMPILER_TYPE} == clang



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