From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DE9E4138335 for ; Sat, 7 Dec 2019 01:34:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D88C0E08F7; Sat, 7 Dec 2019 01:34:06 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C042BE08F7 for ; Sat, 7 Dec 2019 01:34:06 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7499E34D862 for ; Sat, 7 Dec 2019 01:34:05 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C9CD58D3 for ; Sat, 7 Dec 2019 01:34:03 +0000 (UTC) From: "Conrad Kostecki" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Conrad Kostecki" Message-ID: <1575682063.c450f27486c6a0eaf7e9fba59ab0b8a1d64afa17.conikost@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/rioutil/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-misc/rioutil/rioutil-1.5.4.ebuild X-VCS-Directories: app-misc/rioutil/ X-VCS-Committer: conikost X-VCS-Committer-Name: Conrad Kostecki X-VCS-Revision: c450f27486c6a0eaf7e9fba59ab0b8a1d64afa17 X-VCS-Branch: master Date: Sat, 7 Dec 2019 01:34:03 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 16ad79d7-f332-4dd7-b1a3-9c95c23e358d X-Archives-Hash: e79045961b5c4f6b4d2b744882ae904c commit: c450f27486c6a0eaf7e9fba59ab0b8a1d64afa17 Author: Conrad Kostecki gentoo org> AuthorDate: Sat Dec 7 00:55:29 2019 +0000 Commit: Conrad Kostecki gentoo org> CommitDate: Sat Dec 7 01:27:43 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c450f274 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 gentoo.org> app-misc/rioutil/rioutil-1.5.4.ebuild | 6 ++++-- 1 file 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 64e2133d8c1..6722b045c2a 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