--- /usr/portage/media-libs/gst-plugins-base/gst-plugins-base-0.10.36.ebuild 2013-02-24 19:01:20.000000000 +0100 +++ gst-plugins-base-0.10.36.ebuild 2013-06-04 01:10:32.000000000 +0200 @@ -33,6 +33,9 @@ src_prepare() { # though they are not actually used. This needs to be fixed upstream by # replacing AC_PATH_XTRA with PKG_CONFIG calls. sed -i -e 's:X_PRE_LIBS -lSM -lICE:X_PRE_LIBS:' "${S}"/configure || die + sed -i -e \ + "/^GST_CONFIGPATH/ s:=.*:='${ROOT}/usr/include/gstreamer-${SLOT}/gst/gstconfig.h':" \ + "${S}"/configure || die } src_configure() {