summaryrefslogtreecommitdiff
path: root/lang/libcxxabi/Makefile
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2019-08-05 19:06:49 +0000
committeradam <adam@pkgsrc.org>2019-08-05 19:06:49 +0000
commitd432b34aa3e7ddf44e1219fac381e010f51aea82 (patch)
tree6cf1158ea55ee0829acf93fdb2e0d12ba369ccd2 /lang/libcxxabi/Makefile
parentee6e3d25df7c6af4a08b0e242a3a14978fb19094 (diff)
downloadpkgsrc-d432b34aa3e7ddf44e1219fac381e010f51aea82.tar.gz
llvm: updated to 8.0.1
LLVM 8.0.1 is now available! Download it now, or read the release notes. This release contains bug-fixes for the LLVM 8.0.0 release. This release is API and ABI compatible with 8.0.0.
Diffstat (limited to 'lang/libcxxabi/Makefile')
-rw-r--r--lang/libcxxabi/Makefile16
1 files changed, 10 insertions, 6 deletions
diff --git a/lang/libcxxabi/Makefile b/lang/libcxxabi/Makefile
index 9a256a7f71b..602dc3e589c 100644
--- a/lang/libcxxabi/Makefile
+++ b/lang/libcxxabi/Makefile
@@ -1,9 +1,11 @@
-# $NetBSD: Makefile,v 1.4 2019/06/02 08:41:58 adam Exp $
+# $NetBSD: Makefile,v 1.5 2019/08/05 19:06:49 adam Exp $
-DISTNAME= libcxxabi-8.0.0.src
+DISTNAME= libcxxabi-8.0.1.src
PKGNAME= ${DISTNAME:S/.src//}
CATEGORIES= lang devel
-MASTER_SITES= http://llvm.org/releases/${PKGVERSION_NOREV}/
+MASTER_SITES= ${MASTER_SITE_GITHUB:=llvm/}
+GITHUB_PROJECT= llvm-project
+GITHUB_RELEASE= llvmorg-${PKGVERSION_NOREV}
EXTRACT_SUFX= .tar.xz
MAINTAINER= pkgsrc-users@NetBSD.org
@@ -15,9 +17,11 @@ LICENSE= modified-bsd OR mit
# libcxx's includes to build, so we have this unholy extra distfiles thing
# in both of them to get them to build against each other without causing
# circular dependencies. This must be kept in sync with libcxxabi/Makefile.
-#
-LIBCXX= libcxx-${PKGVERSION_NOREV}.src
-DISTFILES= ${DEFAULT_DISTFILES} ${LIBCXX}${EXTRACT_SUFX}
+LIBCXX= ${DISTNAME:S/cxxabi/cxx/}
+_EXTRA_DIST= ${LIBCXX}${EXTRACT_SUFX}
+SITES.${_EXTRA_DIST}= ${MASTER_SITES:=${GITHUB_PROJECT}/releases/download/${GITHUB_RELEASE}/}
+
+DISTFILES= ${DEFAULT_DISTFILES} ${_EXTRA_DIST}
CONFIGURE_DIRS= ${WRKDIR}/build
CMAKE_ARG_PATH= ${WRKSRC}