git: 83b30edf372b - 2023Q4 - devel/root: Fix build/run depends in Makefile
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 27 Oct 2023 06:35:36 UTC
The branch 2023Q4 has been updated by fuz:
URL: https://cgit.FreeBSD.org/ports/commit/?id=83b30edf372baecff6adf7ce5aa8f247a11f44e0
commit 83b30edf372baecff6adf7ce5aa8f247a11f44e0
Author: Erik Jensen <erik@tenku.dk>
AuthorDate: 2023-10-25 06:55:45 +0000
Commit: Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2023-10-27 06:35:10 +0000
devel/root: Fix build/run depends in Makefile
Turn bash and nlohmann-json into run-time dependencies,
as well as build-time dependencies.
PR: 274696
MFH: 2023Q4
(cherry picked from commit a19d67508e63f959c27d1b13a27aca88f136e10e)
---
devel/root/Makefile | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/devel/root/Makefile b/devel/root/Makefile
index 14f01c1b1da4..4ea696cb7d3d 100644
--- a/devel/root/Makefile
+++ b/devel/root/Makefile
@@ -11,8 +11,9 @@ WWW= https://root.cern/
LICENSE= LGPL21
LICENSE_FILE= ${WRKSRC}/LGPL2_1.txt
-BUILD_DEPENDS= bash:shells/bash \
- nlohmann-json>=3:devel/nlohmann-json
+BUILD_AND_RUN_DEPENDS= bash:shells/bash \
+ nlohmann-json>=3:devel/nlohmann-json
+BUILD_DEPENDS= ${BUILD_AND_RUN_DEPENDS}
LIB_DEPENDS= libcfitsio.so:astro/cfitsio \
libcurl.so:ftp/curl \
libfftw3.so:math/fftw3 \
@@ -29,6 +30,7 @@ LIB_DEPENDS= libcfitsio.so:astro/cfitsio \
libXrdCl.so:databases/xrootd \
libxxhash.so:devel/xxhash \
libzstd.so:archivers/zstd
+RUN_DEPENDS= ${BUILD_AND_RUN_DEPENDS}
USES= cmake compiler:c++17-lang desktop-file-utils \
gettext-runtime gnome iconv jpeg shebangfix ssl