aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgerald <gerald@FreeBSD.org>2017-04-12 09:14:48 +0800
committergerald <gerald@FreeBSD.org>2017-04-12 09:14:48 +0800
commit1a8017aa3baa3c1db737e10294893bcb7bbd9229 (patch)
tree213ed64470babe9e832a7a1c649c6f72c8acfef5
parent50567a976b10011adefe4ec9b4acef3a3bea66a4 (diff)
downloadfreebsd-ports-gnome-1a8017aa3baa3c1db737e10294893bcb7bbd9229.tar.gz
freebsd-ports-gnome-1a8017aa3baa3c1db737e10294893bcb7bbd9229.tar.zst
freebsd-ports-gnome-1a8017aa3baa3c1db737e10294893bcb7bbd9229.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 and simplify the definition of GCC_VERSION since GCC 4.7 is EOL.
-rw-r--r--lang/gcc47/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/lang/gcc47/Makefile b/lang/gcc47/Makefile
index 3199e735ed61..562ab2a0248c 100644
--- a/lang/gcc47/Makefile
+++ b/lang/gcc47/Makefile
@@ -6,8 +6,7 @@ PORTVERSION= 4.7.4
PORTREVISION= 3
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 powerpc powerpc64 sparc64
USES= cpe gmake iconv libtool makeinfo perl5 tar:bzip2