Bug 274195 - books/porters-handbook: Fix USES=ada
Summary: books/porters-handbook: Fix USES=ada
Status: Closed FIXED
Alias: None
Product: Documentation
Classification: Unclassified
Component: Books & Articles (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Sergio Carlavilla Delgado
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-01 11:20 UTC by Nico Sonack
Modified: 2023-10-09 12:57 UTC (History)
2 users (show)

See Also:


Attachments
Patch for correct arguments (1.29 KB, patch)
2023-10-01 11:20 UTC, Nico Sonack
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nico Sonack 2023-10-01 11:20:00 UTC
Created attachment 245350 [details]
Patch for correct arguments

TL;DR: The options documented in the porters handbook for USES=ada are outdated. Right now it provides:

 - 6   (for gcc6-aux)
 - 12  (for gnat12)
 - run (for RUN_DEPENDS)

The attached patch updates the English version for the changed USES arguments.
Comment 1 Sergio Carlavilla Delgado freebsd_committer freebsd_triage 2023-10-01 11:26:28 UTC
It's ok, I'm gonna merge it, checked with [1]

[1] https://cgit.freebsd.org/ports/tree/Mk/Uses/ada.mk
Comment 2 commit-hook freebsd_committer freebsd_triage 2023-10-09 12:56:58 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/doc/commit/?id=8a431c30fe69f7ee8b2873a7f8803d4c158586f0

commit 8a431c30fe69f7ee8b2873a7f8803d4c158586f0
Author:     Nico Sonack <nsonack@outlook.com>
AuthorDate: 2023-10-09 12:55:46 +0000
Commit:     Sergio Carlavilla Delgado <carlavilla@FreeBSD.org>
CommitDate: 2023-10-09 12:55:46 +0000

    Porter's handbook - USES: Upgrade ADA

    PR:     274195

 documentation/content/en/books/porters-handbook/uses/_index.adoc | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
Comment 3 Sergio Carlavilla Delgado freebsd_committer freebsd_triage 2023-10-09 12:57:23 UTC
Done!