binaries list

Gregory Seidman gsslist+macports at anthropohedron.net
Tue Jul 3 18:39:09 PDT 2012


Changed macports.conf to explicitly set buildfromsource to ifneeded and
portarchivetype to tbz2 (also set portarchivemode to yes and set the
portarchivepath; none of these settings were present in the macports.conf),
did a port selfupdate followed by port upgrade outdated.

Verdict: Success!

Binaries are installing now, no building from source. Thanks for your help!

The only other thing I'd like is "apt-cache policy <package>" functionality,
particularly for multiple packages (e.g. the outdated pseudopackage) but
that doesn't seem to be easily available.

--Greg

On Tue, Jul 03, 2012 at 09:18:10PM -0400, Brandon Allbery wrote:
> On Tue, Jul 3, 2012 at 8:42 PM, Gregory Seidman <
> gsslist+macports at anthropohedron.net> wrote:
> 
> > If I don't specify -b, I always seem to build from source. What should I be
> > looking for in the macports.conf?
> >
> 
> As from "man macports.conf":
> 
>      buildfromsource
>          Controls whether ports are built from source or downloaded as pre-
>          built archives. Setting to 'always' will never use archives,
> 'never'
>          will always try to use an archive and fail if one is not available.
>          'ifneeded' will try to fetch an archive and fall back to building
>          from source if that isn't possible.
>          Default: ifneeded
> 
>      portarchivetype
>          Format of archives in which to store port images. This controls
> both
>          the type of archive created locally after building from source, and
>          the type to request from remote servers. Changing this will not
>          affect the usability of already installed archives; they can be of
>          any supported type.
>          Supported types are: tgz, tar, tbz, tbz2, tlz, txz, xar, zip, cpgz,
>          cpio
>          Default: tbz2
> 
> Changing portarchivetype from tbz2 means that the prebuilt archives won't
> be found (as they are all in tbz2 format only).
> 
> Also, is there any way to do something similar to port list outdated that
> > will tell me whether a binary of a newer version is available?
> >
> 
> Not so far as I am aware.  It could probably be written, though, since the
> archives all have (obviously) well defined names.
> 
> -- 
> brandon s allbery                                      allbery.b at gmail.com
> wandering unix systems administrator (available)     (412) 475-9364 vm/sms

> _______________________________________________
> macports-users mailing list
> macports-users at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users



More information about the macports-users mailing list