[nycbug-talk] confusion with NetBSD's PKG_OPTIONS
Scott Robbins
scottro
Mon Jan 2 13:08:34 EST 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I'm trying to figure out how to use NetBSD's PKG_OPTIONS. I thought I
understood from a doc on their site.
http://www.netbsd.org/Documentation/pkgsrc/configuring.html#general-configuration
However, I wanted to install a package called uim to input Japanese.
The default options are anthy canna and gtk. I only wanted anthy and
gtk.
I tried make PKG_OPTIONS.uim="anthy gtk" install clean.
As it was beginning the install I got a message to the effect that
currently selected options were anthy, gtk and canna. There is a note
that one can override this by setting PKG_DEFAULT_OPTIONS or the
variable PKG_OPTIONS.uim. It then gave a message that the current value
of PKG_OPTIONS.uim was anthy and gtk, which seemed to be what I wanted.
However, then it began to try to install canna.
In the end, I simply hacked options.mk to remove canna--I'd spent about
a half hour googling and trying different combinations so it seemed time
effective to take 30 seconds to hack options.mk. However, I'd like to
figure out how it is supposed to work .
(They mentioned adding it to /etc/mk.conf but said this was deprecated.
At any rate, trying to do that with quotes around anthy gtk gave an
error message--removing the quotes had the same effect as make
PKG_OPTIONS="anthy gtk" showing that they were the value of the
PKG_OPTIONS.uim variable but still trying to install canna. I also
tried single quotes and, on a suggestion from the uim page env
PKG_OPTIONS.uim='anthy gtk' make install clean, but had the same result,
showing that the value was anthy and gtk but still trying to install
canna.)
I figure I'm missing something obvious so would be grateful for a syntax
example.
Thanks for any help, and be gentle, I'm feeling stupid enough as it is.
- --
Scott Robbins
PGP keyID EB3467D6
( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 EB34 67D6 )
gpg --keyserver pgp.mit.edu --recv-keys EB3467D6
Anya: This isn't a relationship. You don't need me. All
you care about is lots of orgasms.
Xander: Okay, remember how we talked about private conversations?
How they're less private when they're in front of my friends?
Spike: Oh we're not your friends. Go on.
Giles: Please don't
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)
iD8DBQFDuWwi+lTVdes0Z9YRArsXAKCQg1NujhHcaRyYndEjQXX8fmwtawCfbR0Y
qPKOkTI2BIjjPSmFeLIh/rU=
=jGw2
-----END PGP SIGNATURE-----
More information about the talk
mailing list