aboutsummaryrefslogtreecommitdiff
path: root/lang/gcc6-devel/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lang/gcc6-devel/Makefile')
-rw-r--r--lang/gcc6-devel/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/lang/gcc6-devel/Makefile b/lang/gcc6-devel/Makefile
index a8c0de7871cf..54e783132ee1 100644
--- a/lang/gcc6-devel/Makefile
+++ b/lang/gcc6-devel/Makefile
@@ -3,6 +3,7 @@
PORTNAME= gcc
PORTVERSION= 6.3.1.s20170323
+PORTREVISION= 1
CATEGORIES= lang java
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