summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2019-12-07 01:55:29 +0100
committerConrad Kostecki <conikost@gentoo.org>2019-12-07 02:27:43 +0100
commitc450f27486c6a0eaf7e9fba59ab0b8a1d64afa17 (patch)
treef9d66cf03fb74ac6a86d84deaa17d98b9e276522 /app-misc
parentnet-misc/ethflop: update metadata.xml (diff)
downloadgentoo-c450f27486c6a0eaf7e9fba59ab0b8a1d64afa17.tar.gz
gentoo-c450f27486c6a0eaf7e9fba59ab0b8a1d64afa17.tar.bz2
gentoo-c450f27486c6a0eaf7e9fba59ab0b8a1d64afa17.zip
app-misc/rioutil: rework libdir path
Instead of overwriting during src_install to use the correct libpath, the Makefile is fixed, to use the correct libpath during src_install. Package-Manager: Portage-2.3.80, Repoman-2.3.19 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/rioutil/rioutil-1.5.4.ebuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/app-misc/rioutil/rioutil-1.5.4.ebuild b/app-misc/rioutil/rioutil-1.5.4.ebuild
index 64e2133d8c10..6722b045c2ac 100644
--- a/app-misc/rioutil/rioutil-1.5.4.ebuild
+++ b/app-misc/rioutil/rioutil-1.5.4.ebuild
@@ -20,6 +20,9 @@ BDEPEND="virtual/pkgconfig"
src_prepare() {
default
+ # Don't use hardcoded '/lib' libpath
+ sed -e '/libdir/d' -i Makefile.am -i librioutil/Makefile.am || die
+
eautoreconf
}
@@ -28,8 +31,7 @@ src_configure() {
}
src_install() {
- emake DESTDIR="${ED}" libdir="/usr/$(get_libdir)" install
- einstalldocs
+ default
udev_dorules "${FILESDIR}"/75-rio.rules