--- gstreamer-0.10.36.ebuild.orig 2014-01-27 23:28:40.000000000 +0000 +++ gstreamer-0.10.36.ebuild.orig 2014-01-27 23:29:21.000000000 +0000 @@ -4,7 +4,7 @@ EAPI=4 -inherit eutils multilib pax-utils +inherit eutils libtool multilib pax-utils DESCRIPTION="Streaming media framework" HOMEPAGE="http://gstreamer.freedesktop.org/" @@ -39,6 +39,9 @@ if [[ ${ABI} != x86 && ${ABI} != amd64 ]]; then sed -e 's#check:\(.*\)$(CHECK_EXPORTS)#check:\1#' -i Makefile.{am,in} || die fi + + # Needed to fix cross-compiling. + elibtoolize } src_configure() { --- gstreamer-1.2.0.ebuild.orig 2014-01-27 23:28:29.000000000 +0000 +++ gstreamer-1.2.0.ebuild.orig 2014-01-27 23:29:49.000000000 +0000 @@ -4,7 +4,7 @@ EAPI="5" -inherit eutils multilib pax-utils +inherit eutils libtool multilib pax-utils DESCRIPTION="Streaming media framework" HOMEPAGE="http://gstreamer.freedesktop.org/" @@ -29,6 +29,11 @@ " # gtk-doc-am to install API docs +src_prepare() { + # Needed to fix cross-compiling. + elibtoolize +} + src_configure() { if [[ ${CHOST} == *-interix* ]] ; then export ac_cv_lib_dl_dladdr=no