--- jpilot-0.99.8.ebuild 2006-03-28 05:05:50.000000000 -0800 +++ jpilot-0.99.8-r1.ebuild 2006-04-14 21:07:33.000000000 -0700 @@ -33,13 +33,13 @@ } src_compile() { - econf $(use_enable gtk2) $(use_enable nls) || die "configure failed" + ABILIB=$(get_libdir) econf $(use_enable gtk2) $(use_enable nls) || die "configure failed" emake -j1 || die "make failed" } src_install() { make install DESTDIR=${D} \ - libdir=/usr/$(get_libdir) \ + libdir=/usr/$(get_libdir)/jpilot/plugins \ docdir=/usr/share/doc/${PF} \ icondir=/usr/share/pixmaps \ desktopdir=/usr/share/applications || die "install failed"