diff options
author | gerald <gerald@FreeBSD.org> | 2017-01-16 01:51:04 +0800 |
---|---|---|
committer | gerald <gerald@FreeBSD.org> | 2017-01-16 01:51:04 +0800 |
commit | 30a1b69b44e25194c347d603ae416398a1d52906 (patch) | |
tree | b8e6bde9bbbea65e920b3c75ef10e5c6b7bc590d /lang | |
parent | 5e57e937de18bf2855927915de942ced963321dc (diff) | |
download | freebsd-ports-gnome-30a1b69b44e25194c347d603ae416398a1d52906.tar.gz freebsd-ports-gnome-30a1b69b44e25194c347d603ae416398a1d52906.tar.zst freebsd-ports-gnome-30a1b69b44e25194c347d603ae416398a1d52906.zip |
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).
Diffstat (limited to 'lang')
-rw-r--r-- | lang/gcc5/Makefile | 7 |
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 |