[Bug 202949] bsd.options.mk: do-* target helpers fail to override default definitions
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Sep 7 14:31:08 UTC 2015
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202949
--- Comment #3 from Jan Beich <jbeich at FreeBSD.org> ---
If converting do-* targets conditionals to option helpers requires quirks the
documentation should explicitly say so. Other target helpers don't require
special attention: pre-* and post-* mainly concatenate rules to an existing
do-* target.
Besides, NO_FOO isn't always equivalent to an empty target:
# Mk/bsd.port.mk
.if defined(NO_BUILD) && !target(build)
build: configure
@${TOUCH} ${TOUCH_FLAGS} ${BUILD_COOKIE}
.endif
which would make a port skip build if it has only do-build-${opt}-on/off.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the freebsd-ports-bugs
mailing list