diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-12-30 12:57:51 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-12-30 12:57:51 +0000 |
commit | 049e13cee9367fa2b64d2c10943c16398134033d (patch) | |
tree | 226b58fd5c2e3301ce0c456b4ec50af72d552aab /sys-apps/makedev | |
parent | Stable for HPPA (bug #159430). (diff) | |
download | gentoo-2-049e13cee9367fa2b64d2c10943c16398134033d.tar.gz gentoo-2-049e13cee9367fa2b64d2c10943c16398134033d.tar.bz2 gentoo-2-049e13cee9367fa2b64d2c10943c16398134033d.zip |
add support for USE=build
(Portage version: 2.1.2_rc4-r2)
Diffstat (limited to 'sys-apps/makedev')
-rw-r--r-- | sys-apps/makedev/makedev-3.23.1.ebuild | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/sys-apps/makedev/makedev-3.23.1.ebuild b/sys-apps/makedev/makedev-3.23.1.ebuild index f22cf03f5b1e..4b7f57705ecf 100644 --- a/sys-apps/makedev/makedev-3.23.1.ebuild +++ b/sys-apps/makedev/makedev-3.23.1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/makedev/makedev-3.23.1.ebuild,v 1.1 2006/12/30 09:48:20 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/makedev/makedev-3.23.1.ebuild,v 1.2 2006/12/30 12:57:51 vapier Exp $ inherit toolchain-funcs @@ -15,7 +15,7 @@ SRC_URI="http://people.redhat.com/nalin/MAKEDEV/${MY_P}-${MY_REL}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd" -IUSE="selinux" +IUSE="build selinux" DEPEND="" @@ -30,4 +30,9 @@ src_install() { # set devdir to makedevdir so we dont have to worry about /dev emake install DESTDIR="${D}" makedevdir=/sbin devdir=/sbin || die dodoc *.txt + keepdir /dev +} + +pkg_postinst() { + use build && MAKEDEV -d "${ROOT}"/dev generic } |