svn commit: r345652 - projects/capsicum-test/share/mk
Enji Cooper
ngie at FreeBSD.org
Tue Sep 3 14:05:51 UTC 2019
Author: ngie
Date: Thu Mar 28 20:13:34 2019
New Revision: 345652
URL: https://svnweb.freebsd.org/changeset/base/345652
Log:
Ensure values specified for BINMODE.*, etc can actually be set by the caller
It would, previously, set the value of BINMODE.mini-me.setuid to the default,
which is not the intention of PROG_OVERRIDE_VARS. PROG_OVERRIDE_VARS _needs_
to override the value, if set, not just set the value to an empty one.
Modified:
projects/capsicum-test/share/mk/bsd.progs.mk
Modified: projects/capsicum-test/share/mk/bsd.progs.mk
==============================================================================
--- projects/capsicum-test/share/mk/bsd.progs.mk Thu Mar 28 20:04:26 2019 (r345651)
+++ projects/capsicum-test/share/mk/bsd.progs.mk Thu Mar 28 20:13:34 2019 (r345652)
@@ -34,6 +34,11 @@ $v += ${${v}.${PROG}}
$v += ${${v}_${PROG}}
.endif
.else
+.if defined(${v}.${PROG})
+$v = ${${v}.${PROG}}
+.elif defined(${v}_${PROG})
+$v = ${${v}_${PROG}}
+.endif
$v ?=
.endif
.endfor
More information about the svn-src-projects
mailing list