summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-07-21 01:56:04 +0000
committerMike Frysinger <vapier@gentoo.org>2011-07-21 01:56:04 +0000
commit57c0a9c978329a106b0349514d03375ba91c1cfa (patch)
treee00974e269bf794fa3f997fdb48d4d0fdfdb755a /sys-fs/static-dev
parentAdd pod2man dependency. (diff)
downloadgentoo-2-57c0a9c978329a106b0349514d03375ba91c1cfa.tar.gz
gentoo-2-57c0a9c978329a106b0349514d03375ba91c1cfa.tar.bz2
gentoo-2-57c0a9c978329a106b0349514d03375ba91c1cfa.zip
Switch to newer makedev package and drop arch-specific logic #373625 by Bertrand Jacquin.
(Portage version: 2.2.0_alpha45/cvs/Linux x86_64)
Diffstat (limited to 'sys-fs/static-dev')
-rw-r--r--sys-fs/static-dev/ChangeLog6
-rw-r--r--sys-fs/static-dev/static-dev-0.1.ebuild33
2 files changed, 9 insertions, 30 deletions
diff --git a/sys-fs/static-dev/ChangeLog b/sys-fs/static-dev/ChangeLog
index 14654ff55065..e0649f08815d 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-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/static-dev/ChangeLog,v 1.12 2011/04/15 21:57:05 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/static-dev/ChangeLog,v 1.13 2011/07/21 01:56:04 vapier Exp $
+
+ 21 Jul 2011; Mike Frysinger <vapier@gentoo.org> static-dev-0.1.ebuild:
+ Switch to newer makedev package and drop arch-specific logic #373625 by
+ Bertrand Jacquin.
15 Apr 2011; Ulrich Mueller <ulm@gentoo.org> static-dev-0.1.ebuild:
Don't PROVIDE virtual/dev-manager, it is a new-style virtual now. Bug 361133.
diff --git a/sys-fs/static-dev/static-dev-0.1.ebuild b/sys-fs/static-dev/static-dev-0.1.ebuild
index 68fe60af5fae..e5f4c9599492 100644
--- a/sys-fs/static-dev/static-dev-0.1.ebuild
+++ b/sys-fs/static-dev/static-dev-0.1.ebuild
@@ -1,8 +1,6 @@
# Copyright 1999-2011 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.13 2011/04/15 21:57:05 ulm Exp $
-
-inherit toolchain-funcs
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/static-dev/static-dev-0.1.ebuild,v 1.14 2011/07/21 01:56:04 vapier Exp $
DESCRIPTION="A skeleton, statically managed /dev"
HOMEPAGE="http://bugs.gentoo.org/107875"
@@ -13,7 +11,7 @@ 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* )"
+RDEPEND="sys-apps/makedev"
pkg_preinst() {
if [[ -d ${ROOT}/dev/.udev || -c ${ROOT}/dev/.devfs ]] ; then
@@ -30,29 +28,6 @@ pkg_preinst() {
fi
}
-src_install() {
- dodir /dev
- cd "${D}"/dev/ || die "Unable to descend into /dev"
-
- # keep in sync with sys-apps/baselayout
- local suffix=""
- case $(tc-arch) in
- arm*) suffix=-arm ;;
- alpha) suffix=-alpha ;;
- amd64) suffix=-i386 ;;
- hppa) suffix=-hppa ;;
- ia64) suffix=-ia64 ;;
- m68k) suffix=-m68k ;;
- mips*) suffix=-mips ;;
- ppc*) suffix=-powerpc ;;
- s390*) suffix=-s390 ;;
- sh*) suffix=-sh ;;
- sparc*) suffix=-sparc ;;
- x86) suffix=-i386 ;;
- esac
-
- einfo "Using generic${suffix} to make $(tc-arch) device nodes..."
-
- MAKEDEV -d "${D}"/dev generic${suffix} || die
- MAKEDEV -d "${D}"/dev sg scd rtc hde hdf hdg hdh input audio video || die
+pkg_postinst() {
+ MAKEDEV -d "${ROOT}"/dev generic sg scd rtc hde hdf hdg hdh input audio video
}