pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/clang-tools-extra clang-tools-extra: rewrite EXTR...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/20dccfe0845d
branches:  trunk
changeset: 388273:20dccfe0845d
user:      adam <adam%pkgsrc.org@localhost>
date:      Tue Nov 15 18:30:07 2022 +0000

description:
clang-tools-extra: rewrite EXTRA_DIST; spotted by @wiz :)

diffstat:

 lang/clang-tools-extra/Makefile |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (22 lines):

diff -r 3a25b83c6b1b -r 20dccfe0845d lang/clang-tools-extra/Makefile
--- a/lang/clang-tools-extra/Makefile   Tue Nov 15 18:29:04 2022 +0000
+++ b/lang/clang-tools-extra/Makefile   Tue Nov 15 18:30:07 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2022/11/14 18:44:05 adam Exp $
+# $NetBSD: Makefile,v 1.21 2022/11/15 18:30:07 adam Exp $
 
 .include "../../lang/clang/Makefile.common"
 
@@ -8,8 +8,10 @@
 
 DEPENDS+=      clang>=${LLVM_VERSION}:../../lang/clang
 
-EXTRA_DIST+=           ${DISTNAME:S/clang/clang-tools-extra/}${EXTRACT_SUFX}
-SITES.${EXTRA_DIST}=   ${MASTER_SITES:=${GITHUB_PROJECT}/releases/download/${GITHUB_RELEASE}/}
+CLANG_TOOLS_EXTRA=     clang-tools-extra-${LLVM_VERSION}.src
+EXTRA_DIST+=           ${CLANG_TOOLS_EXTRA}${EXTRACT_SUFX}
+SITES.${CLANG_TOOLS_EXTRA}${EXTRACT_SUFX}= \
+       ${MASTER_SITES:=${GITHUB_PROJECT}/releases/download/${GITHUB_RELEASE}/}
 
 BUILD_TARGET=  clang-change-namespace clang-apply-replacements clang-doc
 BUILD_TARGET+= clang-include-fixer clang-move clang-query clang-reorder-fields



Home | Main Index | Thread Index | Old Index