--- /usr/portage/dev-db/mysql/mysql-5.0.9_beta-r2.ebuild 2005-08-18 03:05:32.000000000 +0200 +++ mysql-5.0.9_beta-r2.ebuild 2005-08-20 10:32:55.000000000 +0200 @@ -157,12 +157,17 @@ useq readline && myconf="${myconf} --without-readline" useq readline || myconf="${myconf} --with-readline" - if useq static ; then + if useq mysql-static-daemon ; then myconf="${myconf} --with-mysqld-ldflags=-all-static" - myconf="${myconf} --with-client-ldflags=-all-static" - myconf="${myconf} --disable-shared" - else myconf="${myconf} --enable-shared --enable-static" + else + if useq static ; then + myconf="${myconf} --with-mysqld-ldflags=-all-static" + myconf="${myconf} --with-client-ldflags=-all-static" + myconf="${myconf} --disable-shared" + else + myconf="${myconf} --enable-shared --enable-static" + fi fi myconf="${myconf} `use_with tcpd libwrap`"