aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorbrooks <brooks@FreeBSD.org>2016-12-15 02:38:06 +0800
committerbrooks <brooks@FreeBSD.org>2016-12-15 02:38:06 +0800
commitc303583bd173c4dd565f28653b0dbb3c75b7fc46 (patch)
treebd8453ca1ad8b358139e8ca677c84b4a62eed262 /lang
parent09934a44cce2e0dc79ded73a9b1f60e1955aca1c (diff)
downloadfreebsd-ports-gnome-c303583bd173c4dd565f28653b0dbb3c75b7fc46.tar.gz
freebsd-ports-gnome-c303583bd173c4dd565f28653b0dbb3c75b7fc46.tar.zst
freebsd-ports-gnome-c303583bd173c4dd565f28653b0dbb3c75b7fc46.zip
Get PORTVERSION from llvm-devel automatically.
PR: 215305
Diffstat (limited to 'lang')
-rw-r--r--lang/clang-devel/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/lang/clang-devel/Makefile b/lang/clang-devel/Makefile
index 9b1a35ae7a49..b366e1df5a4b 100644
--- a/lang/clang-devel/Makefile
+++ b/lang/clang-devel/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= clang
-PORTVERSION= 3.8.d20150720
+PORTVERSION= ${LLVM_MAJOR}.d${SNAPDATE}
PORTREVISION= 1
CATEGORIES= lang devel
PKGNAMESUFFIX= -devel
@@ -16,4 +16,6 @@ LLVM_SUFFIX= -devel
USES= metaport
+.include "${.CURDIR}/../../devel/llvm-devel/Makefile.snapshot"
+
.include <bsd.port.mk>