summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Beierlein <tomjbe@gentoo.org>2017-03-11 20:14:50 +0100
committerThomas Beierlein <tomjbe@gentoo.org>2017-03-11 20:14:50 +0100
commitecaf5311e2b81d5c41af19c86170c1ba958131f3 (patch)
tree2363d34516bc7ca09ef6e06ae40600e6ba413cd6 /media-libs/hamlib
parentmedia-libs/hamlib: Drop old (diff)
downloadgentoo-ecaf5311e2b81d5c41af19c86170c1ba958131f3.tar.gz
gentoo-ecaf5311e2b81d5c41af19c86170c1ba958131f3.tar.bz2
gentoo-ecaf5311e2b81d5c41af19c86170c1ba958131f3.zip
media-libs/hamlib: Fix installation for USE=perl (bug #611550).
Thanks Toralf for reporting and Kent\n for pointing out how to fix. Package-Manager: Portage-2.3.4, Repoman-2.3.2
Diffstat (limited to 'media-libs/hamlib')
-rw-r--r--media-libs/hamlib/hamlib-3.1.ebuild6
1 files changed, 6 insertions, 0 deletions
diff --git a/media-libs/hamlib/hamlib-3.1.ebuild b/media-libs/hamlib/hamlib-3.1.ebuild
index 2e02c1100b41..0b62f3248954 100644
--- a/media-libs/hamlib/hamlib-3.1.ebuild
+++ b/media-libs/hamlib/hamlib-3.1.ebuild
@@ -46,6 +46,12 @@ src_prepare() {
-e "s#fix}/include#fix}/include/hamlib#" \
hamlib.pc.in || die "sed failed"
+ # Correct install target to whatever INSTALLDIRS says and use vendor
+ # installdirs everywhere (bug #611550)
+ sed -i -e "s#install_site#install#" \
+ -e 's#MAKEFILE="Hamlib-pl.mk"#MAKEFILE="Hamlib-pl.mk" INSTALLDIRS=vendor#' \
+ bindings/Makefile.am || die "sed failed patching for perl"
+
# make building of documentation compatible with autotools-utils
sed -i -e "s/doc:/html:/g" doc/Makefile.am || die "sed failed"