--- bacula-5.0.2.ebuild.orig 2010-05-11 02:50:19.000000000 -0400 +++ bacula-5.0.2.ebuild 2010-05-13 08:54:37.622249278 -0400 @@ -153,11 +153,12 @@ --with-${mydbtype} \ --enable-batch-insert \ $(use_enable static static-dir)" fi if ! use bacula-nosd; then - myconf="${myconf} $(use_enable static static-sd)" + myconf="${myconf} $(use_enable static static-sd) \ + --with-${mydbtype}" fi fi if use qt4 && has_version '