Manually registering dependencies for ports

b. f. bf1783 at
Mon Jun 7 01:47:03 UTC 2010

On 6/7/10, b. f. <bf1783 at> wrote:

> You can keep the script in a location other than
> /usr/ports/devel/bar/pkg-req, just by using something like:
> .if${.CURDIR:M*/usr/ports/devel/bar*}
> PKGREQ="insert full path to script here"
> .endif
> in /etc/make.conf, because /usr/ports/Mk/ will use PKGREQ
> along with the -r flag in the "do-package" target.

That is, in the "do-package" target when making a package, and in the
"fake-pkg" target when installing a port.


More information about the freebsd-ports mailing list