Subject: Re: Accepting Licenses w/ pkg_comp
To: Daniel Bolgheroni <email@example.com>
From: Julio M. Merino Vidal <firstname.lastname@example.org>
Date: 10/18/2004 14:35:30
On Mon, 18 Oct 2004 04:22:39 +0000
Daniel Bolgheroni <email@example.com> wrote:
> trying to compile some packages, pkg_comp always fails with some
> packages like fonts/ms-ttf, print/acroread5, audio/mpg123, audio/gqmpeg,
> etc. but I noted to compile these packages, I need to accept the
> licenses regarding each package. I saw that "default.conf" generated
> by pkg_comp have some options to /etc/mk.conf, so I added
> to accept all licenses, but the error remains the same.
> I found no documentation at the manual pages, and that's why I'm asking
> here. What can I do to accept these licenses automatically?
There is documentation, but it does not refer to "accept licenses" directly
(so it may be a bit difficult to guess):
A list of variable names that will be appended to the generated
/etc/mk.conf file, together with their values set in the configu-
ration file. Its default value contains all variables listed
So, from your default.conf file, you can do:
ACCEPTABLE_LICENSES="foo bar ..."
Rebuild your sandbox and you'll see ACCEPTABLE_LICENSES in the mk.conf file
Julio M. Merino Vidal <firstname.lastname@example.org>
The NetBSD Project - http://www.NetBSD.org/