make install a port, but with a package?

Heino Tiedemann rotkaps_spam_trap at gmx.de
Tue Jul 31 06:34:17 UTC 2007


Manolis Kiagias <sonicy at otenet.gr> wrote:

> Make install will always compile from source. You could however use:
>
> setenv PACKAGESITE 
> ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6-stable/Latest/
>
> or
>
> export
> PACKAGESITE=ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6-stable/Latest/  
> (if you use bash)
>
> and then do pkg_add, will get you latest packages build from the -STABLE
> ports. You don't even have to worry about specific version numbers (i.e.
> pkg_add -r bash instead of pkg_add -r bash-3.2.17_1) so this is a close
> to a "port tree simulation" as possible. The package may still be
> lagging a few versions behind the port however (or in some cases may not
> even exist).

What about the variable PKG_SITES?

Once I found (in sime wiki or howto) this entry:


export
PACKAGESITE=ftp://ftp7.de.freebsd.org/pub/FreeBSD/ports/i386/packages-6-stable/Latest/
export PKG_SITES=ftp://ftp7.de.freebsd.org/pub/FreeBSD/ports/i386/packages-6-stable/


what about that variable PKG_SITES? what is it for?

Heino






More information about the freebsd-ports mailing list