git: 8b4e176302c8 - main - UPDATING: Fix old portmaster example
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 25 Oct 2023 14:21:03 UTC
The branch main has been updated by se:
URL: https://cgit.FreeBSD.org/ports/commit/?id=8b4e176302c857663bdf635c42fd1e3e95b39183
commit 8b4e176302c857663bdf635c42fd1e3e95b39183
Author: Stefan Eßer <se@FreeBSD.org>
AuthorDate: 2023-10-25 14:14:52 +0000
Commit: Stefan Eßer <se@FreeBSD.org>
CommitDate: 2023-10-25 14:20:40 +0000
UPDATING: Fix old portmaster example
The entry dated 20181213 suggests
portmaster -f `pkg shlib -qR libperl.so.5.26`
to force an update or re-installation of all ports that directly
depend on the given library. This command leads to excessive and
unnecessary port builds, though, since the -f option is passed
down to the up-to-date checks of all dependencies, causing them
to be rebuilt, too.
The correct command is:
portmaster `pkg shlib -qR libperl.so.5.26`
Reported by: rkoberman@gmail.com (Kevin Oberman)
---
UPDATING | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/UPDATING b/UPDATING
index 136c9fc8df62..d3b0bbd7c919 100644
--- a/UPDATING
+++ b/UPDATING
@@ -5223,7 +5223,7 @@ leave you without networking.
Then you will need to rebuild everything that uses libperl.so, you
can do so with:
- portmaster -f `pkg shlib -qR libperl.so.5.26`
+ portmaster `pkg shlib -qR libperl.so.5.26`
If, for some reason, this command fails at one point, it is safe to
run it again, it will not rebuild what it already rebuilt, as the