git: 2e2bf5b9cf - main - Porter's Handbook: wildcard arch, arch-neutral
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 05 Apr 2023 05:05:11 UTC
The branch main has been updated by grahamperrin:
URL: https://cgit.FreeBSD.org/doc/commit/?id=2e2bf5b9cfd4d3d46bf83c4cc3f804cacadc961f
commit 2e2bf5b9cfd4d3d46bf83c4cc3f804cacadc961f
Author: Graham Perrin <grahamperrin@FreeBSD.org>
AuthorDate: 2023-04-03 18:44:47 +0000
Commit: Graham Perrin <grahamperrin@FreeBSD.org>
CommitDate: 2023-04-05 04:42:43 +0000
Porter's Handbook: wildcard arch, arch-neutral
Mention wildcard architecture with architecture-neutral ports.
https://bugs.freebsd.org/235980
PR: 235980
Reported by: Samy Mahmoudi <samy.mahmoudi@gmail.com>
Approved by: arrowd
Differential revision: https://reviews.freebsd.org/D39390
---
.../content/en/books/porters-handbook/porting-dads/_index.adoc | 2 ++
1 file changed, 2 insertions(+)
diff --git a/documentation/content/en/books/porters-handbook/porting-dads/_index.adoc b/documentation/content/en/books/porters-handbook/porting-dads/_index.adoc
index 01573cd8ad..7977293b4a 100644
--- a/documentation/content/en/books/porters-handbook/porting-dads/_index.adoc
+++ b/documentation/content/en/books/porters-handbook/porting-dads/_index.adoc
@@ -399,6 +399,8 @@ Port [.filename]##Makefile##s should test the value of this Makevar.
Ports that do not have any architecture-dependent files or requirements are identified by setting `NO_ARCH=yes`.
+Packages built from such ports have their architecture string ending in `:*` (wildcard architecture) as opposed to, for example, `freebsd:13:x86:64` (amd64 architecture).
+
[NOTE]
====
`NO_ARCH` is meant to indicate that there is no need to build a package for each of the supported architectures.