summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2017-11-19 21:10:03 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2017-11-19 21:14:51 +0000
commit5b6ecbf7e5d978949aed4f2ad1c38fa71f00e708 (patch)
tree0aea4053133cba7fa9cd3b6479a0f577b0280d18 /media-libs/vamp-plugin-sdk
parentdev-libs/amdgpu-pro-opencl: bump to 17.40.492261 (diff)
downloadgentoo-5b6ecbf7e5d978949aed4f2ad1c38fa71f00e708.tar.gz
gentoo-5b6ecbf7e5d978949aed4f2ad1c38fa71f00e708.tar.bz2
gentoo-5b6ecbf7e5d978949aed4f2ad1c38fa71f00e708.zip
media-libs/vamp-plugin-sdk: tweak for prefix
INSTALL_PLUGINS=/usr/lib64/vamp is an absolute path (without --prefix= prepended) Reported-by: alphawarr1or Package-Manager: Portage-2.3.14, Repoman-2.3.6
Diffstat (limited to 'media-libs/vamp-plugin-sdk')
-rw-r--r--media-libs/vamp-plugin-sdk/vamp-plugin-sdk-2.7.1.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/media-libs/vamp-plugin-sdk/vamp-plugin-sdk-2.7.1.ebuild b/media-libs/vamp-plugin-sdk/vamp-plugin-sdk-2.7.1.ebuild
index 1f8d9e8b0d99..0e041f251367 100644
--- a/media-libs/vamp-plugin-sdk/vamp-plugin-sdk-2.7.1.ebuild
+++ b/media-libs/vamp-plugin-sdk/vamp-plugin-sdk-2.7.1.ebuild
@@ -25,7 +25,7 @@ src_prepare() {
multilib_src_configure() {
# multilib for default search paths
- sed -i -e "s:/usr/lib/vamp:/usr/$(get_libdir)/vamp:" src/vamp-hostsdk/PluginHostAdapter.cpp || die "sed failed"
+ sed -i -e "s:/usr/lib/vamp:${EPREFIX}/usr/$(get_libdir)/vamp:" src/vamp-hostsdk/PluginHostAdapter.cpp || die "sed failed"
econf
}
@@ -39,7 +39,7 @@ multilib_src_compile() {
}
multilib_src_install() {
- emake DESTDIR="${D}" INSTALL_SDK_LIBS="/usr/$(get_libdir)" INSTALL_PKGCONFIG="/usr/$(get_libdir)/pkgconfig" INSTALL_PLUGINS="/usr/$(get_libdir)/vamp" install
+ emake DESTDIR="${D}" INSTALL_SDK_LIBS="${EPREFIX}/usr/$(get_libdir)" INSTALL_PKGCONFIG="${EPREFIX}/usr/$(get_libdir)/pkgconfig" INSTALL_PLUGINS="${EPREFIX}/usr/$(get_libdir)/vamp" install
multilib_is_native_abi && use doc && dohtml -r build/doc/html/*
}