diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-12-05 23:59:50 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-12-05 23:59:50 +0000 |
commit | 3ce7db0f5400826742aad90223276e7d3d5e4720 (patch) | |
tree | 80f4665b64e558e44c41322129d9d9271bc4c98b /sys-fs/static-dev | |
parent | Fix building when x11-libs/qt:3 is installed wrt #295913. (diff) | |
download | gentoo-2-3ce7db0f5400826742aad90223276e7d3d5e4720.tar.gz gentoo-2-3ce7db0f5400826742aad90223276e7d3d5e4720.tar.bz2 gentoo-2-3ce7db0f5400826742aad90223276e7d3d5e4720.zip |
Create device nodes in $D/dev instead of /dev #295732 by Diego E. Pettenò.
(Portage version: 2.2_rc55/cvs/Linux x86_64)
Diffstat (limited to 'sys-fs/static-dev')
-rw-r--r-- | sys-fs/static-dev/ChangeLog | 8 | ||||
-rw-r--r-- | sys-fs/static-dev/static-dev-0.1.ebuild | 11 |
2 files changed, 12 insertions, 7 deletions
diff --git a/sys-fs/static-dev/ChangeLog b/sys-fs/static-dev/ChangeLog index 0827ef36233b..7e86b900858a 100644 --- a/sys-fs/static-dev/ChangeLog +++ b/sys-fs/static-dev/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-fs/static-dev -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/static-dev/ChangeLog,v 1.9 2007/10/01 01:48:45 vapier Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-fs/static-dev/ChangeLog,v 1.10 2009/12/05 23:59:50 vapier Exp $ + + 06 Dec 2009; Mike Frysinger <vapier@gentoo.org> static-dev-0.1.ebuild: + Create device nodes in $D/dev instead of /dev #295732 by Diego E. + Pettenò. 01 Oct 2007; Mike Frysinger <vapier@gentoo.org> static-dev-0.1.ebuild: Fixup from Scott Price for devfs test #137434. diff --git a/sys-fs/static-dev/static-dev-0.1.ebuild b/sys-fs/static-dev/static-dev-0.1.ebuild index e0e23bdd3085..55e7e71aa7f0 100644 --- a/sys-fs/static-dev/static-dev-0.1.ebuild +++ b/sys-fs/static-dev/static-dev-0.1.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2008 Gentoo Foundation +# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/static-dev/static-dev-0.1.ebuild,v 1.10 2008/03/30 15:14:00 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/static-dev/static-dev-0.1.ebuild,v 1.11 2009/12/05 23:59:50 vapier Exp $ inherit toolchain-funcs @@ -13,6 +13,8 @@ SLOT="0" KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc x86" IUSE="" +RDEPEND="|| ( sys-apps/makedev =sys-apps/baselayout-1* )" + PROVIDE="virtual/dev-manager" pkg_preinst() { @@ -53,7 +55,6 @@ src_install() { einfo "Using generic${suffix} to make $(tc-arch) device nodes..." - export PATH=${ROOT}/dev:/dev:${PATH} - MAKEDEV generic${suffix} || die - MAKEDEV sg scd rtc hde hdf hdg hdh input audio video || die + MAKEDEV -d "${D}"/dev generic${suffix} || die + MAKEDEV -d "${D}"/dev sg scd rtc hde hdf hdg hdh input audio video || die } |