Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Oct 2023 14:21:03 GMT
From:      Stefan =?utf-8?Q?E=C3=9Fer?= <se@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 8b4e176302c8 - main - UPDATING: Fix old portmaster example
Message-ID:  <202310251421.39PEL3CH066250@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202310251421.39PEL3CH066250>