Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 477998 - udev.eclass: provide sane udevdir default
Summary: udev.eclass: provide sane udevdir default
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: udev maintainers
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2013-07-24 12:12 UTC by Hristo Venev
Modified: 2013-07-24 16:22 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hristo Venev 2013-07-24 12:12:38 UTC
--- eclass/udev.eclass
+++ eclass/udev.eclass
@@ -47,7 +47,7 @@
 	if $($(tc-getPKG_CONFIG) --exists udev); then
 		echo "$($(tc-getPKG_CONFIG) --variable=udevdir udev)"
 	else
-		echo /lib/udev
+		echo /usr/$(get_libdir)/udev
 	fi
 }
 
udev and eudev don't use it when generating udev.pc so it's not a problem for {,e}udev users.

Reproducible: Always
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2013-07-24 16:22:49 UTC
(In reply to Hristo Venev from comment #0)
> --- eclass/udev.eclass
> +++ eclass/udev.eclass
> @@ -47,7 +47,7 @@
>  	if $($(tc-getPKG_CONFIG) --exists udev); then
>  		echo "$($(tc-getPKG_CONFIG) --variable=udevdir udev)"
>  	else
> -		echo /lib/udev
> +		echo /usr/$(get_libdir)/udev

that'd be wrong, the current default, sys-fs/udev, doesn't even read from /usr
we install udev to / and that's the only correct directory
futhermore using multilib here would be invalid