aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorgerald <gerald@FreeBSD.org>2017-04-13 09:27:14 +0800
committergerald <gerald@FreeBSD.org>2017-04-13 09:27:14 +0800
commit87081f6c9a2fd46ccb237ba9ffce8e5f46710442 (patch)
tree75d7fb317cac2f13e4e4c7c9c27f2723c3aa0274 /lang
parent235b63034c16c64abe48ff3fcdc2aefbc719deb9 (diff)
downloadfreebsd-ports-gnome-87081f6c9a2fd46ccb237ba9ffce8e5f46710442.tar.gz
freebsd-ports-gnome-87081f6c9a2fd46ccb237ba9ffce8e5f46710442.tar.zst
freebsd-ports-gnome-87081f6c9a2fd46ccb237ba9ffce8e5f46710442.zip
Completely remove DIST_VERSION that mat introduced in revision
438272 to avoid DISTVERSION in this port . On the way also drop the definition of DISTNAME (where the default now works) and simplify the definition of GCC_VERSION; both of these are possible since GCC 4.6 is EOL.
Diffstat (limited to 'lang')
-rw-r--r--lang/gcc46/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/lang/gcc46/Makefile b/lang/gcc46/Makefile
index b440d576d2a9..bc61ee26ad2f 100644
--- a/lang/gcc46/Makefile
+++ b/lang/gcc46/Makefile
@@ -6,8 +6,7 @@ PORTVERSION= 4.6.4
PORTREVISION= 5
PORTEPOCH= 1
CATEGORIES= lang java
-MASTER_SITES= GCC/releases/gcc-${DIST_VERSION}
-DISTNAME= gcc-${DIST_VERSION}
+MASTER_SITES= GCC/releases/gcc-${PORTVERSION}
PKGNAMESUFFIX= ${SUFFIX}
MAINTAINER= gerald@FreeBSD.org
@@ -28,10 +27,9 @@ BUILD_DEPENDS+= runtest:misc/dejagnu
CPE_VENDOR= gnu
-# DIST_VERSION relates to downloads, GCC_VERSION and SUFFIX to names
-# of executables and directories once installed.
-DIST_VERSION= ${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 i386 ia64 powerpc sparc64
USES= cpe gmake iconv libtool makeinfo perl5 tar:bzip2