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