Page MenuHomeFreeBSD

D59664.1793631345.diff
No OneTemporary

Authored By
Unknown
Size
852 B
Referenced Files
None
Subscribers
None

D59664.1793631345.diff

diff --git a/CHANGES b/CHANGES
--- a/CHANGES
+++ b/CHANGES
@@ -10,6 +10,12 @@
All ports committers are allowed to commit to this file.
+20260923:
+AUTHOR: mat@FreeBSD.org
+
+ Add BUILD_RUN_DEPENDS as a syntastic sugar for adding dependencies to both
+ BUILD_DEPENDS and RUN_DEPENDS without side effects.
+
20260914:
AUTHOR: dteske@FreeBSD.org
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -4043,6 +4043,11 @@
# Dependency checking
################################################################
+. for sp in ${_PKGS}
+BUILD_DEPENDS${_SP.${sp}}+= ${BUILD_RUN_DEPENDS${_SP.${sp}}}
+RUN_DEPENDS${_SP.${sp}}+= ${BUILD_RUN_DEPENDS${_SP.${sp}}}
+. endfor
+
. if !target(depends)
depends: pkg-depends extract-depends patch-depends lib-depends fetch-depends build-depends run-depends

File Metadata

Mime Type
text/plain
Expires
Mon, Nov 2, 2:55 PM (19 h, 35 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41301241
Default Alt Text
D59664.1793631345.diff (852 B)

Event Timeline