Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Jul 2013 15:18:51 GMT
From:      Torsten Eichstädt <torsten.eichstaedt@web.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/180656: portmaster: --packages-local=/usr/local/ports/packages shall be the default
Message-ID:  <201307191518.r6JFIpTU059625@oldred.freebsd.org>
Resent-Message-ID: <201307191520.r6JFK1Zp040598@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



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