Date: Sun, 15 Jan 2017 17:51:05 +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: r431591 - head/lang/gcc5 Message-ID: <201701151751.v0FHp5DE080343@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201701151751.v0FHp5DE080343>