Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 07 Sep 2015 14:31:08 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 202949] bsd.options.mk: do-* target helpers fail to override default definitions
Message-ID:  <bug-202949-13-QvoMvzp8Zu@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-202949-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-202949-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202949

--- Comment #3 from Jan Beich <jbeich@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-202949-13-QvoMvzp8Zu>