aboutsummaryrefslogtreecommitdiff
path: root/lang/gcc7-devel/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lang/gcc7-devel/Makefile')
-rw-r--r--lang/gcc7-devel/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/lang/gcc7-devel/Makefile b/lang/gcc7-devel/Makefile
index 088dddb68145..3b8e420ef866 100644
--- a/lang/gcc7-devel/Makefile
+++ b/lang/gcc7-devel/Makefile
@@ -3,6 +3,7 @@
PORTNAME= gcc
PORTVERSION= 7.0.1.s20170326
+PORTREVISION= 1
CATEGORIES= lang
MASTER_SITES= GCC/snapshots/${DISTVERSION}
PKGNAMESUFFIX= ${SUFFIX}-devel
@@ -31,6 +32,7 @@ CPE_VERSION= ${GCC_VERSION}
# 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/}
+PORTREVISION= 1
GCC_VERSION= ${PORTVERSION:C/(.+)\.s[0-9]{8}/\1/}
SUFFIX= ${PORTVERSION:C/([0-9]+).*/\1/}
ONLY_FOR_ARCHS= aarch64 amd64 i386 powerpc powerpc64 sparc64 arm armv6