svn commit: r431591 - head/lang/gcc5

Gerald Pfeifer gerald at FreeBSD.org
Sun Jan 15 17:51:06 UTC 2017


Author: gerald
Date: Sun Jan 15 17:51:04 2017
New Revision: 431591
URL: https://svnweb.freebsd.org/changeset/ports/431591

Log:
  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).

Modified:
  head/lang/gcc5/Makefile

Modified: head/lang/gcc5/Makefile
==============================================================================
--- head/lang/gcc5/Makefile	Sun Jan 15 17:44:01 2017	(r431590)
+++ head/lang/gcc5/Makefile	Sun Jan 15 17:51:04 2017	(r431591)
@@ -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


More information about the svn-ports-all mailing list