--- /usr/local/portage/net-www/gnash/gnash-0.8.5.ebuild.orig 2009-03-30 00:14:08.000000000 +0300 +++ /usr/local/portage/net-www/gnash/gnash-0.8.5.ebuild 2009-03-30 10:03:18.000000000 +0300 @@ -101,6 +101,10 @@ src_unpack() { base_src_unpack + cd ${S} + epatch ${FILESDIR}/gnash-0.8.5-no-boost-s-libs.patch + epatch ${FILESDIR}/gnash-0.8.5-qt4-moc.patch + ./autogen.sh } src_configure() { @@ -111,19 +115,6 @@ # Set nsplugin install directory. use nsplugin && myconf="${myconf} --with-npapi-plugindir=/opt/netscape/plugins" - # Set kde and konqueror plugin directories. - if use kde; then - myconf="${myconf} - --with-qt4-incl=/usr/include/qt4 - --with-qt4-lib=/usr/$(get_libdir)/qt4 - --with-kde4-incl=${KDEDIR}/include - --with-kde4-configdir=${KDEDIR}/share/config - --with-kde4-prefix=${KDEDIR} - --with-kde4-lib=${KDEDIR}/$(get_libdir)/kde4 - --with-kde-appsdatadir=${KDEDIR}/share/apps/klash - --with-kde4-servicesdir=${KDEDIR}/share/services" - fi - # Set rendering engine. if use agg; then myconf="${myconf} --enable-renderer=agg" @@ -151,11 +142,11 @@ gui=$( echo $gui|sed -e 's/,//' ) econf \ + --with-plugins-install=system \ --disable-dependency-tracking \ --disable-kparts3 \ --enable-nspr \ --enable-expat \ - --enable-mit-shm \ --enable-jpeg \ --enable-png \ --enable-gif \