Since udev has moved to the /usr prefix, gobi_loader should as well, as it seems udev does not check /lib/udev any more. Reproducible: Always
Also, a QA notice tells me, the udev rules should also go into the /usr prefix. Updated ebuild and Makefile patch follow.
Created attachment 320530 [details] ebuild to install into /usr
Created attachment 320532 [details, diff] corresponding Makefile patch
Comment on attachment 320530 [details] ebuild to install into /usr --- gobi_loader-0.7-r1.ebuild 2010-08-11 16:01:18.000000000 +0200 +++ - 2012-08-06 04:11:53.655314576 +0200 @@ -15,15 +15,16 @@ IUSE="" DEPEND="virtual/libusb:0" -RDEPEND="${DEPEND}" +RDEPEND="${DEPEND} +!<sys-fs/udev-187" src_prepare() { - epatch "${FILESDIR}"/${P}-makefile.patch + epatch "${FILESDIR}"/${P}-makefile.patch.2 sed "s:%LIBDIR%:$(get_libdir):" -i Makefile || die } src_install() { - emake install || die + prefix=/usr emake install || die } pkg_postinst() {
FYI, just found pkg-config --variable=udevdir udev but i don't know since when this is supported.
That patch cannot be applied if it makes this only compatible with old udev :/
This shouldn't block stabilization as a patch to allow helpers to be in /lib/udev is applied in udev ebuilds
(In reply to comment #7) > This shouldn't block stabilization as a patch to allow helpers to be in > /lib/udev is applied in udev ebuilds Then why did you remove this bug from the correct Tracker bug 433916? Restored that. Just use udev.eclass if the package is incapable of reading udevdir= value on it's own from udev.pc pkg-config file.
+*gobi_loader-0.7-r2 (16 Nov 2012) + + 16 Nov 2012; Lars Wendler <polynomial-c@gentoo.org> + -gobi_loader-0.7-r1.ebuild, +gobi_loader-0.7-r2.ebuild, + files/gobi_loader-0.7-makefile.patch: + Fixed installation location of udev rules file (bug #430112). +