diff options
Diffstat (limited to 'media-libs/libmtp')
-rw-r--r-- | media-libs/libmtp/libmtp-1.1.20.ebuild | 6 | ||||
-rw-r--r-- | media-libs/libmtp/libmtp-9999.ebuild | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/media-libs/libmtp/libmtp-1.1.20.ebuild b/media-libs/libmtp/libmtp-1.1.20.ebuild index 5e6a85f46c71..1d3b612f5449 100644 --- a/media-libs/libmtp/libmtp-1.1.20.ebuild +++ b/media-libs/libmtp/libmtp-1.1.20.ebuild @@ -9,6 +9,7 @@ if [[ ${PV} == 9999* ]]; then EGIT_REPO_URI="https://git.code.sf.net/p/${PN}/code" inherit autotools git-r3 else + inherit libtool SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~x86" fi @@ -50,6 +51,11 @@ src_prepare() { touch config.rpath || die # This is from upstream autogen.sh fi eautoreconf + else + # Needed to fix -fuse-ld=* filtering (e.g. lld) + # Can drop this once copyright year in libtool file included + # says >= 2021 (was 2014 at time of writing). + elibtoolize fi } diff --git a/media-libs/libmtp/libmtp-9999.ebuild b/media-libs/libmtp/libmtp-9999.ebuild index ab7478bda189..c967b9ef0cc5 100644 --- a/media-libs/libmtp/libmtp-9999.ebuild +++ b/media-libs/libmtp/libmtp-9999.ebuild @@ -9,6 +9,7 @@ if [[ ${PV} == 9999* ]]; then EGIT_REPO_URI="https://git.code.sf.net/p/${PN}/code" inherit autotools git-r3 else + inherit libtool SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~x86" fi @@ -46,6 +47,11 @@ src_prepare() { touch config.rpath || die # This is from upstream autogen.sh fi eautoreconf + else + # Needed to fix -fuse-ld=* filtering (e.g. lld) + # Can drop this once copyright year in libtool file included + # says >= 2021 (was 2014 at time of writing). + elibtoolize fi } |