Summary: | [patch] Mk/bsd.options.mk small fix for ${opt}_WITH if option is off | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Olli Hauer <ohauer> | ||||||
Component: | Ports Framework | Assignee: | Olli Hauer <ohauer> | ||||||
Status: | Closed FIXED | ||||||||
Severity: | Affects Many People | ||||||||
Priority: | --- | ||||||||
Version: | Latest | ||||||||
Hardware: | Any | ||||||||
OS: | Any | ||||||||
Attachments: |
|
Description
Olli Hauer
2014-06-16 12:45:29 UTC
Created attachment 143990 [details]
strip argument from ${opt}_WITH if opt is disabled
Approved, this will fix configure of a few ports when options are unset (math/asymptote, lang/smalltalk, net-im/freetalk) Could you update section 5.12.3.4 of the porters handbook too? Created attachment 143994 [details]
${opt}_with handbook fix
I think this is the easiest way to document the patch.
A commit references this bug: Author: ohauer Date: Sat Jun 21 13:29:31 UTC 2014 New revision: 358699 URL: http://svnweb.freebsd.org/changeset/ports/358699 Log: - strip optional WITH parameter from argument if OPTION is set to off FOO_WITH= foo=bar CONFIGURE_ARGS will become now ON: --with-foo=bar OFF: --without-foo PR: 191085 Submitted by: ohauer Approved by: portmgr (antoine) Changes: head/Mk/bsd.options.mk DOCS PR 191243 was opened to reflect this patch. |