I've had this in my tree for a while, let bsd.port.mk sanitize BUILD_DEPENDS

values for us, and use the cleaned up value for noconfigurejunk related
to automake (we can use internal variables in bsd.port.mk, obviously)
This commit is contained in:
espie 2020-02-26 15:34:48 +00:00
parent 5c6d5dbbc6
commit 201e8ea072

View File

@ -1,6 +1,6 @@
#-*- mode: Makefile; tab-width: 4; -*-
# ex:ts=4 sw=4 filetype=make:
# $OpenBSD: bsd.port.mk,v 1.1519 2020/02/26 15:32:45 espie Exp $
# $OpenBSD: bsd.port.mk,v 1.1520 2020/02/26 15:34:48 espie Exp $
#
# bsd.port.mk - 940820 Jordan K. Hubbard.
# This file is in the public domain.
@ -339,10 +339,6 @@ ERRORS += "Fatal: Variable $v is obsolete, see bsd.port.mk(5)"
. endif
.endfor
.if !empty(BUILD_DEPENDS:Mdevel/automake/*)
DPB_PROPERTIES += noconfigurejunk
.endif
.for t in pre-fetch do-fetch post-fetch pre-package do-package post-package
. if target($t)
ERRORS += "Fatal: you're not allowed to override $t"
@ -1701,6 +1697,10 @@ _BUILD_DEP = ${_BUILD_DEP2:C,^[^:/]*:,,}
_RUN_DEP = ${_RUN_DEP2:C,^[^:/]*:,,}
_TEST_DEP = ${_TEST_DEP2:C,^[^:/]*:,,}
.if !empty(_BUILD_DEP:Mdevel/automake/*)
DPB_PROPERTIES += noconfigurejunk
.endif
REORDER_DEPENDENCIES ?=
ECHO_REORDER ?= :