Bug 240301 - Misleading USES=gmake:lite example in section 17.1 of Porter's Handbook inconsistent with section 17.31
Summary: Misleading USES=gmake:lite example in section 17.1 of Porter's Handbook incon...
Status: Closed FIXED
Alias: None
Product: Documentation
Classification: Unclassified
Component: Website (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Jason Helfman
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-09-03 12:18 UTC by Pau Amma
Modified: 2019-09-03 21:07 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pau Amma 2019-09-03 12:18:31 UTC
Section 17.1 of the Porter's Handbook (https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/uses.html#uses-intro) gives "USES=gmake:lite" as an example, but section 17.31 (https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/uses-gmake.html) and /usr/ports/Mk/Uses/gmake.mk both say that USES=gmake takes no argument. I'm told in IRC that the latter is correct. Maybe fix the example so it's actually correct usage?
Comment 1 commit-hook freebsd_committer freebsd_triage 2019-09-03 21:05:49 UTC
A commit references this bug:

Author: jgh
Date: Tue Sep  3 21:04:49 UTC 2019
New revision: 53365
URL: https://svnweb.freebsd.org/changeset/doc/53365

Log:
  - address misleading example

  PR:		240301
  Reported by:	pauamma@gundo.com

Changes:
  head/en_US.ISO8859-1/books/porters-handbook/uses/chapter.xml
Comment 2 Jason Helfman freebsd_committer freebsd_triage 2019-09-03 21:07:03 UTC
Thanks for the report! This has been addressed.