diff options
author | Torsten Veller <tove@gentoo.org> | 2007-04-28 12:56:19 +0000 |
---|---|---|
committer | Torsten Veller <tove@gentoo.org> | 2007-04-28 12:56:19 +0000 |
commit | d357b53b6d840b6bea2f3b603b557333f8f9df64 (patch) | |
tree | 3870f59f09c40116988a2d74c464cffdb95d5478 /x11-misc/afbinit/afbinit-1.0.1-r5.ebuild | |
parent | Use newinitd (diff) | |
download | gentoo-2-d357b53b6d840b6bea2f3b603b557333f8f9df64.tar.gz gentoo-2-d357b53b6d840b6bea2f3b603b557333f8f9df64.tar.bz2 gentoo-2-d357b53b6d840b6bea2f3b603b557333f8f9df64.zip |
Use newinitd
(Portage version: 2.1.2.5)
Diffstat (limited to 'x11-misc/afbinit/afbinit-1.0.1-r5.ebuild')
-rw-r--r-- | x11-misc/afbinit/afbinit-1.0.1-r5.ebuild | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/x11-misc/afbinit/afbinit-1.0.1-r5.ebuild b/x11-misc/afbinit/afbinit-1.0.1-r5.ebuild index bb3a04d30dcf..cb05e7766c97 100644 --- a/x11-misc/afbinit/afbinit-1.0.1-r5.ebuild +++ b/x11-misc/afbinit/afbinit-1.0.1-r5.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/afbinit/afbinit-1.0.1-r5.ebuild,v 1.2 2006/11/16 12:40:01 fmccor Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-misc/afbinit/afbinit-1.0.1-r5.ebuild,v 1.3 2007/04/28 12:56:19 tove Exp $ inherit eutils @@ -23,10 +23,10 @@ src_unpack() { ## # Patch rc.afb to handle both kernels 2.4.x and 2.6.x einfo "Patching to handle both kernel 2.4.x and 2.6.x style afb identification" - cd ${S} - epatch ${FILESDIR}/rc.afb-${PVR}.patch || die "Cannot patch rc.afb init script" + cd "${S}" + epatch "${FILESDIR}"/rc.afb-${PVR}.patch || die "Cannot patch rc.afb init script" einfo 'Patching afbinit.c to use MMAP_PUBLIC (needed for kernels > 2.6.14)' - epatch ${FILESDIR}/afbinit-mmap-${PV}.patch || die "Cannot patch for mmap" + epatch "${FILESDIR}"/afbinit-mmap-${PV}.patch || die "Cannot patch for mmap" } src_compile() { @@ -36,7 +36,7 @@ src_compile() { src_install() { dosbin afbinit dosbin rc.afb - exeinto /etc/init.d ; newexe ${FILESDIR}/afbinit.init afbinit + newinitd "${FILESDIR}"/afbinit.init afbinit } pkg_postinst() { |