Date: Fri, 3 Jan 2025 23:57:13 GMT From: Brooks Davis <brooks@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 57f97b36a7cf - main - devel/llvm*: flip LICENSE_FILE_BSD3CLAUSE setting [NFC] Message-ID: <202501032357.503NvDNT076691@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by brooks: URL: https://cgit.FreeBSD.org/ports/commit/?id=57f97b36a7cfe19702fbf967e31e0403b72a7ea3 commit 57f97b36a7cfe19702fbf967e31e0403b72a7ea3 Author: Brooks Davis <brooks@FreeBSD.org> AuthorDate: 2025-01-03 01:46:13 +0000 Commit: Brooks Davis <brooks@FreeBSD.org> CommitDate: 2025-01-03 23:56:57 +0000 devel/llvm*: flip LICENSE_FILE_BSD3CLAUSE setting [NFC] The location of this license file moved in LLVM 16. Since I'm doing cleanup in this area and the split of ports is about 50/50, switch to setting the old location in the older ports so the newer ports set fewer variables. Sponsored by: DARPA, AFRL --- devel/llvm-cheri/Makefile | 4 ++++ devel/llvm-cheriot/Makefile | 3 --- devel/llvm-devel/Makefile | 1 - devel/llvm-devel/Makefile.LICENSE | 2 +- devel/llvm11/Makefile | 1 + devel/llvm12/Makefile | 1 + devel/llvm13/Makefile | 1 + devel/llvm14/Makefile | 1 + devel/llvm15/Makefile | 1 + devel/llvm16/Makefile | 1 - devel/llvm17/Makefile | 1 - devel/llvm18/Makefile | 1 - devel/llvm19/Makefile | 1 - 13 files changed, 10 insertions(+), 9 deletions(-) diff --git a/devel/llvm-cheri/Makefile b/devel/llvm-cheri/Makefile index d75b52ff7bbb..107e156aeb35 100644 --- a/devel/llvm-cheri/Makefile +++ b/devel/llvm-cheri/Makefile @@ -8,6 +8,10 @@ MAINTAINER= brooks@FreeBSD.org COMMENT?= LLVM and Clang with support for the CHERI architecture WWW?= https://cheri-cpu.org +.if !defined(LLVM_SUFFIX} || ${LLVM_SUFFIX} == "-morello" +# XXX: really (LLVM_MAJOR < 16), but it's not defined here +LICENSE_FILE_BSD3CLAUSE=${LICENSE_DIR}/utils/unittest/googletest/LICENSE.TXT +.endif .include "${.PARSEDIR}/../llvm-devel/Makefile.LICENSE" NOT_FOR_ARCHS= i386 armv6 armv7 powerpc mips diff --git a/devel/llvm-cheriot/Makefile b/devel/llvm-cheriot/Makefile index f23c9d8c7731..0c0cb1cfa5ee 100644 --- a/devel/llvm-cheriot/Makefile +++ b/devel/llvm-cheriot/Makefile @@ -5,9 +5,6 @@ LLVM_SUFFIX= -cheriot COMMENT= LLVM and Clang with support the CHERIoT microcontroller WWW= https://www.microsoft.com/en-us/research/publication/cheriot-rethinking-security-for-low-cost-embedded-systems/ -# Moved in LLVM 16 -LICENSE_FILE_BSD3CLAUSE= ${WRKSRC}/third-party/unittest/googletest/LICENSE.TXT - DISTINFO_FILE= ${.CURDIR}/distinfo DESCR= ${.CURDIR}/pkg-descr PLIST= ${.CURDIR}/pkg-plist diff --git a/devel/llvm-devel/Makefile b/devel/llvm-devel/Makefile index 7b6c2f5729c4..de540ac5a7f2 100644 --- a/devel/llvm-devel/Makefile +++ b/devel/llvm-devel/Makefile @@ -9,7 +9,6 @@ COMMENT= LLVM and Clang WWW= https://llvm.org/ .include "Makefile.LICENSE" -LICENSE_FILE_BSD3CLAUSE= ${WRKSRC}/third-party/unittest/googletest/LICENSE.TXT LIB_DEPENDS= libzstd.so:archivers/zstd diff --git a/devel/llvm-devel/Makefile.LICENSE b/devel/llvm-devel/Makefile.LICENSE index 1e4b968751ed..dd682c2145a8 100644 --- a/devel/llvm-devel/Makefile.LICENSE +++ b/devel/llvm-devel/Makefile.LICENSE @@ -18,7 +18,7 @@ LICENSE= BSD3CLAUSE LLVM LLVM2 MIT PD REGEX LICENSE_COMB= multi LICENSE_DIR?= ${WRKSRC}/llvm -LICENSE_FILE_BSD3CLAUSE?= ${LICENSE_DIR}/utils/unittest/googletest/LICENSE.TXT +LICENSE_FILE_BSD3CLAUSE?= ${WRKSRC}/third-party/unittest/googletest/LICENSE.TXT LICENSE_FILE_LLVM= ${LICENSE_DIR}/LICENSE.TXT LICENSE_FILE_LLVM2= ${LICENSE_DIR}/LICENSE.TXT LICENSE_FILE_MIT= ${LICENSE_DIR}/test/YAMLParser/LICENSE.txt diff --git a/devel/llvm11/Makefile b/devel/llvm11/Makefile index 475724ea10da..776ca462744e 100644 --- a/devel/llvm11/Makefile +++ b/devel/llvm11/Makefile @@ -13,6 +13,7 @@ COMMENT= LLVM and Clang WWW= https://llvm.org/ LICENSE_DIR= ${WRKSRC} +LICENSE_FILE_BSD3CLAUSE=${LICENSE_DIR}/utils/unittest/googletest/LICENSE.TXT .include "${.CURDIR}/../llvm-devel/Makefile.LICENSE" LLVM_RELEASE= ${DISTVERSION:C/rc.*//} diff --git a/devel/llvm12/Makefile b/devel/llvm12/Makefile index 6c29b93ff15d..99f1ce281056 100644 --- a/devel/llvm12/Makefile +++ b/devel/llvm12/Makefile @@ -12,6 +12,7 @@ MAINTAINER= brooks@FreeBSD.org COMMENT= LLVM and Clang WWW= https://llvm.org/ +LICENSE_FILE_BSD3CLAUSE=${LICENSE_DIR}/utils/unittest/googletest/LICENSE.TXT .include "${.CURDIR}/../llvm-devel/Makefile.LICENSE" LLVM_RELEASE= ${DISTVERSION:C/rc.*//} diff --git a/devel/llvm13/Makefile b/devel/llvm13/Makefile index 75487e8350f6..2404d7dd0ab1 100644 --- a/devel/llvm13/Makefile +++ b/devel/llvm13/Makefile @@ -12,6 +12,7 @@ MAINTAINER= brooks@FreeBSD.org COMMENT= LLVM and Clang WWW= https://llvm.org/ +LICENSE_FILE_BSD3CLAUSE=${LICENSE_DIR}/utils/unittest/googletest/LICENSE.TXT .include "${.CURDIR}/../llvm-devel/Makefile.LICENSE" LLVM_RELEASE= ${DISTVERSION:C/rc.*//} diff --git a/devel/llvm14/Makefile b/devel/llvm14/Makefile index e3c5c49365e5..08506ad96fab 100644 --- a/devel/llvm14/Makefile +++ b/devel/llvm14/Makefile @@ -17,6 +17,7 @@ MAINTAINER= brooks@FreeBSD.org COMMENT= LLVM and Clang WWW= https://llvm.org/ +LICENSE_FILE_BSD3CLAUSE=${LICENSE_DIR}/utils/unittest/googletest/LICENSE.TXT .include "${.CURDIR}/../llvm-devel/Makefile.LICENSE" LLVM_RELEASE= ${DISTVERSION:C/rc.*//} diff --git a/devel/llvm15/Makefile b/devel/llvm15/Makefile index 298595c26034..8435a3934c4d 100644 --- a/devel/llvm15/Makefile +++ b/devel/llvm15/Makefile @@ -17,6 +17,7 @@ MAINTAINER= brooks@FreeBSD.org COMMENT= LLVM and Clang WWW= https://llvm.org/ +LICENSE_FILE_BSD3CLAUSE=${LICENSE_DIR}/utils/unittest/googletest/LICENSE.TXT .include "${.CURDIR}/../llvm-devel/Makefile.LICENSE" LIB_DEPENDS= libzstd.so:archivers/zstd diff --git a/devel/llvm16/Makefile b/devel/llvm16/Makefile index 2fef08038e6a..101dba7d6f40 100644 --- a/devel/llvm16/Makefile +++ b/devel/llvm16/Makefile @@ -18,7 +18,6 @@ COMMENT= LLVM and Clang WWW= https://llvm.org/ .include "${.CURDIR}/../llvm-devel/Makefile.LICENSE" -LICENSE_FILE_BSD3CLAUSE= ${WRKSRC}/third-party/unittest/googletest/LICENSE.TXT LIB_DEPENDS= libzstd.so:archivers/zstd diff --git a/devel/llvm17/Makefile b/devel/llvm17/Makefile index c900e9790609..8cca940a285d 100644 --- a/devel/llvm17/Makefile +++ b/devel/llvm17/Makefile @@ -18,7 +18,6 @@ COMMENT= LLVM and Clang WWW= https://llvm.org/ .include "${.CURDIR}/../llvm-devel/Makefile.LICENSE" -LICENSE_FILE_BSD3CLAUSE= ${WRKSRC}/third-party/unittest/googletest/LICENSE.TXT LIB_DEPENDS= libzstd.so:archivers/zstd diff --git a/devel/llvm18/Makefile b/devel/llvm18/Makefile index 8b59e35b86af..e4ed2b40d54e 100644 --- a/devel/llvm18/Makefile +++ b/devel/llvm18/Makefile @@ -12,7 +12,6 @@ COMMENT= LLVM and Clang WWW= https://llvm.org/ .include "${.CURDIR}/../llvm-devel/Makefile.LICENSE" -LICENSE_FILE_BSD3CLAUSE= ${WRKSRC}/third-party/unittest/googletest/LICENSE.TXT LIB_DEPENDS= libzstd.so:archivers/zstd diff --git a/devel/llvm19/Makefile b/devel/llvm19/Makefile index 58935a654dbe..b0747b9cb6f4 100644 --- a/devel/llvm19/Makefile +++ b/devel/llvm19/Makefile @@ -13,7 +13,6 @@ COMMENT= LLVM and Clang WWW= https://llvm.org/ .include "${.CURDIR}/../llvm-devel/Makefile.LICENSE" -LICENSE_FILE_BSD3CLAUSE= ${WRKSRC}/third-party/unittest/googletest/LICENSE.TXT LIB_DEPENDS= libzstd.so:archivers/zstd
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202501032357.503NvDNT076691>