Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Mar 2014 15:01:44 +0100
From:      Polytropon <freebsd@edvax.de>
To:        betts@norden1.com
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Using pkg with build options
Message-ID:  <20140323150144.029c571e.freebsd@edvax.de>
In-Reply-To: <372190939.49499.1395582789284.JavaMail.mail@webmail12>
References:  <372190939.49499.1395582789284.JavaMail.mail@webmail12>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 23 Mar 2014 13:53:09 +0000 (UTC), Darrell Betts wrote:
>    Currently have FreeBSD 9.2 installed. I would like to start using pkg
>    install but I can't find how to use it with build options like the old
>    make install clean method. Can anyone share a light on this?

Basically, you cannot do this. The new pkg obsoletes the
traditional pkg_* tools which operate on binary packages
which get built (by FreeBSD build systems) using the
corresponding port's default settings.

If you need to use custom-configured packages (build via
"make install clean" or using a port management tool
such as portmaster), this does currently not integrate
that well with pkg. However, "poudriere" is a solution:
You build packages with your own options and can _then_
use that package source with pkg.

Here's a summary: https://wiki.freebsd.org/PkgPrimer


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...



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