ports/180656: portmaster: --packages-local=/usr/local/ports/packages shall be the default
Torsten Eichstädt
torsten.eichstaedt at web.de
Fri Jul 19 15:20:01 UTC 2013
>Number: 180656
>Category: ports
>Synopsis: portmaster: --packages-local=/usr/local/ports/packages shall be the default
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Fri Jul 19 15:20:01 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Torsten Eichstädt
>Release: FreeBSD-9.1-RELEASE-p4
>Organization:
>Environment:
FreeBSD jail.local.lan 9.1-RELEASE-p4 FreeBSD 9.1-RELEASE-p4 #0: Mon Jun 17 11:42:37 UTC 2013 root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
ports-mgmt/portmaster has an option '--packages-local' to avoid re-compiling ports that were already built.
It shall be the default (pointing to /usr/ports/packages), because 'portmaster' is needed as a wrapper to mimic 'make'. Please do not tell me it is not needed, because if you use 'make' w/o one of the wrappers portmaster/portinstall, things get weird (recursive 'make'; search the matrix: "Recursive Make Considered Harmful").
Currently, if I do
# portmaster -Dg --packages-build --delete-build-only big/ports_collection1
# portmaster -Dg --packages-build --delete-build-only big/ports_collection2
it will re-compile common build tools over and over again.
This unneccessary building can be avoided with this option.
Thanx in advance.
>How-To-Repeat:
See above. E.g. build KDE4 in steps, kde4-runtime, -workspace, -baseapps, etc.
>Fix:
RTFM "The Unix Haters Handbook" ;) Too many topics are still true...
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list