Alexander Skwar <[EMAIL PROTECTED]> writes:

[...]

> You influence it, by setting USE flags. I'd guess, that "doc"
> would be the USE flag you're looking for. So, put something
> like
>
> dev-db/mysql  doc
>
> to /etc/portage/package.use:
>
> echo dev-db/mysql doc >> /etc/portage/package.use

Just looking at emerge --pretend after setting that I'm confused by
the output:

emerge -v -u -p mysql: (wrapped for mail)
These are the packages that I would merge, in order:

 Calculating dependencies  ...done!
[ebuild  N    ] dev-db/mysql-5.0.15  +berkdb -big-tables 
 -cluster -debug -doc -extraengine -minimal +perl +readline
 (-selinux) +ssl -static -utf8 0 kB 

Note that doc has the - sign and readline has +, shouldn't doc have
come up without minus.  

Then when I actually run the emerge the compile flags are not altered
one whit, notice in the actual command given the compiler, the next 
to last line shows `--without-docs'.  But also there appears a 
--without-readline (8th line down) when emerge told me in the
`pretend' run `+readline'.

This is getting pretty confusing

./configure --prefix=/usr --host=i686-pc-linux-gnu 
  --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share 
  --sysconfdir=/etc --localstatedir=/var/lib --libexecdir=/usr/sbin 
  --sysconfdir=/etc/mysql --localstatedir=/var/lib/mysql
  --with-low-memory  --enable-assembler --enable-local-infile 
  --with-mysqld-user=mysql --with-client-ldflags=-lstdc++ 
  --enable-thread-safe-client --with-comment=Gentoo Linux mysql-5.0.15 
  --with-unix-socket-path=/var/run/mysqld/mysqld.sock 
  --with-zlib-dir=/usr --with-lib-ccflags=-fPIC --without-readline 
  --enable-shared --enable-static --without-libwrap --with-openssl 
  --without-debug --with-bench --with-server --with-embedded-server 
  --with-extra-tools --with-innodb --with-raid --with-extra-charsets=all 
  --with-berkeley-db=./bdb --with-geometry --without-ndbcluster 
  --with-big-tables --without-docs --without-big-tables 
  --build=i686-pc-linux-gnu
 

-- 
gentoo-user@gentoo.org mailing list

Reply via email to