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>
src_prepare() {
default
+ # Don't use hardcoded '/lib' libpath
+ sed -e '/libdir/d' -i Makefile.am -i librioutil/Makefile.am || die
+
eautoreconf
}
}
src_install() {
- emake DESTDIR="${ED}" libdir="/usr/$(get_libdir)" install
- einstalldocs
+ default
udev_dorules "${FILESDIR}"/75-rio.rules