summaryrefslogtreecommitdiffstats
path: root/lang/gcc5-devel/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lang/gcc5-devel/Makefile')
-rw-r--r--lang/gcc5-devel/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/lang/gcc5-devel/Makefile b/lang/gcc5-devel/Makefile
index 9bdd43d..45d1666 100644
--- a/lang/gcc5-devel/Makefile
+++ b/lang/gcc5-devel/Makefile
@@ -4,7 +4,8 @@
PORTNAME= gcc
PORTVERSION= 5.4.1.s20170404
CATEGORIES= lang java
-MASTER_SITES= GCC/snapshots/${DISTVERSION}
+MASTER_SITES= GCC/snapshots/${DIST_VERSION}
+DISTNAME= gcc-${DIST_VERSION}
PKGNAMESUFFIX= ${SUFFIX}-devel
MAINTAINER= gerald@FreeBSD.org
@@ -27,11 +28,11 @@ CONFLICTS= gcc-5.*
CPE_VENDOR= gnu
CPE_VERSION= ${GCC_VERSION}
-# DISTVERSION relates to downloads, GCC_VERSION and SUFFIX to names
+# DIST_VERSION 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/}
+DIST_VERSION= ${PORTVERSION:C/([0-9]+).*\.s([0-9]+)/\1-\2/}
GCC_VERSION= ${PORTVERSION:C/(.+)\.s[0-9]{8}/\1/}
SUFFIX= ${PORTVERSION:C/([0-9]+).*/\1/}
ONLY_FOR_ARCHS= aarch64 amd64 arm armv6 i386 powerpc powerpc64 sparc64
OpenPOWER on IntegriCloud