commit:     46a7b2acad0b8650e9a285cce9795c4f24720230
Author:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
AuthorDate: Fri Jul  8 11:17:00 2022 +0000
Commit:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
CommitDate: Fri Jul  8 11:18:03 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46a7b2ac

media-gfx/argyllcms: complete fix for udev_reload

This also modifies AR variable as this package require ar binary and
options in that variable

Closes: https://bugs.gentoo.org/739988
Closes: https://bugs.gentoo.org/856994
Signed-off-by: Bernard Cafarelli <voyageur <AT> gentoo.org>

 media-gfx/argyllcms/argyllcms-2.3.1.ebuild | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/media-gfx/argyllcms/argyllcms-2.3.1.ebuild 
b/media-gfx/argyllcms/argyllcms-2.3.1.ebuild
index 5347599202e0..b500de7c28eb 100644
--- a/media-gfx/argyllcms/argyllcms-2.3.1.ebuild
+++ b/media-gfx/argyllcms/argyllcms-2.3.1.ebuild
@@ -48,10 +48,10 @@ src_compile() {
 
        sed \
                -e 's:CCFLAGS:CFLAGS:g' \
-               -e "s:ar rusc:$(tc-getAR) rusc:g" \
                -i Jambase || die
 
        tc-export CC RANLIB
+       export AR="$(tc-getAR) ruscU"
 
        jam -dx -fJambase "-j$(makeopts_jobs)" || die
 }
@@ -91,3 +91,7 @@ pkg_postinst() {
        elog "http://www.argyllcms.com/doc/Installing_Linux.html";
        echo
 }
+
+pkg_postrm() {
+       udev_reload
+}

Reply via email to