Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 447580 | Differences between
and this patch

Collapse All | Expand All

(-)/usr/portage/sys-apps/kmod/kmod-12.ebuild (-7 / +4 lines)
Lines 54-61 Link Here
54
src_configure()
54
src_configure()
55
{
55
{
56
	econf \
56
	econf \
57
		--bindir=/bin \
57
		--bindir="${EPREFIX}"/sbin \
58
		--with-rootlibdir=/$(get_libdir) \
58
		--with-rootlibdir="${EPREFIX}"/$(get_libdir) \
59
		$(use_enable static-libs static) \
59
		$(use_enable static-libs static) \
60
		$(use_enable tools) \
60
		$(use_enable tools) \
61
		$(use_enable debug) \
61
		$(use_enable debug) \
Lines 69-83 Link Here
69
	default
69
	default
70
	prune_libtool_files
70
	prune_libtool_files
71
71
72
	# Compatibility symlinks (see #426698)
72
	if use tools; then
73
	if use tools; then
73
		local cmd
74
		local cmd
74
		for cmd in depmod insmod lsmod modinfo modprobe rmmod; do
75
		for cmd in depmod insmod lsmod modinfo modprobe rmmod; do
75
			dosym kmod /bin/${cmd}
76
			dosym kmod "${EPREFIX}"/sbin/${cmd}
76
		done
77
		done
77
		# Compatibility symlink(s):
78
		# These are both hardcoded in the Linux kernel source tree wrt #426698
79
		dosym /bin/kmod /sbin/depmod
80
		dosym /bin/kmod /sbin/modprobe
81
	fi
78
	fi
82
79
83
	cat <<-EOF > "${T}"/usb-load-ehci-first.conf
80
	cat <<-EOF > "${T}"/usb-load-ehci-first.conf

Return to bug 447580