summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs')
-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"