summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorGerald Pfeifer <gerald@FreeBSD.org>2017-01-15 17:51:04 +0000
committerGerald Pfeifer <gerald@FreeBSD.org>2017-01-15 17:51:04 +0000
commit3d74360444d48e754efa37735f8ec30e3a223d82 (patch)
treeb8e6bde9bbbea65e920b3c75ef10e5c6b7bc590d /lang
parent- Update to 20170111 (diff)
Omit the definition of DISTVERSION which is only necessary for ports
tracking snapshots of GCC and simplify the definition of GCC_VERSION (but keep the latter as a variable to align the gcc5-devel and gcc5 ports).
Notes
Notes: svn path=/head/; revision=431591
Diffstat (limited to 'lang')
-rw-r--r--lang/gcc5/Makefile7
1 files changed, 1 insertions, 6 deletions
diff --git a/lang/gcc5/Makefile b/lang/gcc5/Makefile
index 85b638d95cd9..f67823bddc80 100644
--- a/lang/gcc5/Makefile
+++ b/lang/gcc5/Makefile
@@ -26,12 +26,7 @@ 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. A PORTVERSION of
-# Y.2.1.s20140817 results in values of Y-20140817, Y.2.1, and Y
-# for these three.
-DISTVERSION= ${PORTVERSION:C/([0-9]+).*\.s([0-9]+)/\1-\2/}
-GCC_VERSION= ${PORTVERSION:C/(.+)\.s[0-9]{8}/\1/}
+GCC_VERSION= ${PORTVERSION}
SUFFIX= ${PORTVERSION:C/([0-9]+).*/\1/}
ONLY_FOR_ARCHS= amd64 i386 powerpc powerpc64 sparc64 arm armv6 armv6hf
USES= compiler cpe gmake iconv libtool makeinfo perl5 tar:bzip2