diff options
Diffstat (limited to 'lang/libcxxabi/Makefile')
-rw-r--r-- | lang/libcxxabi/Makefile | 16 |
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} |