diff options
author | Zac Medico <zmedico@gentoo.org> | 2008-06-23 00:54:37 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2008-06-23 00:54:37 +0000 |
commit | c569686e978ab4d454099608dca33a597c3479c8 (patch) | |
tree | fc3c3bbb1df44afc70b75bc144a69cedda48cc04 /sys-fs/mtd-utils | |
parent | Version bump <http://my.opera.com/desktopteam/blog/2008/06/20/towards-9-51>. ... (diff) | |
download | gentoo-2-c569686e978ab4d454099608dca33a597c3479c8.tar.gz gentoo-2-c569686e978ab4d454099608dca33a597c3479c8.tar.bz2 gentoo-2-c569686e978ab4d454099608dca33a597c3479c8.zip |
Add -f to rm arguments in src_install since ${D}/usr/include doesn't
necessarily exist. Also add emake -j1 option to avoid make failures.
(Portage version: 2.2_rc1_p10759/cvs/Linux 2.6.25-0619-x86-64 i686)
Diffstat (limited to 'sys-fs/mtd-utils')
-rw-r--r-- | sys-fs/mtd-utils/ChangeLog | 6 | ||||
-rw-r--r-- | sys-fs/mtd-utils/mtd-utils-9999.ebuild | 8 |
2 files changed, 9 insertions, 5 deletions
diff --git a/sys-fs/mtd-utils/ChangeLog b/sys-fs/mtd-utils/ChangeLog index e6dd7c09fd7c..555673a595b6 100644 --- a/sys-fs/mtd-utils/ChangeLog +++ b/sys-fs/mtd-utils/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-fs/mtd-utils # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/mtd-utils/ChangeLog,v 1.13 2008/06/16 02:00:50 solar Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/mtd-utils/ChangeLog,v 1.14 2008/06/23 00:54:37 zmedico Exp $ + + 22 Jun 2008; Zac Medico <zmedico@gentoo.org> mtd-utils-9999.ebuild: + Add -f to rm arguments in src_install since ${D}/usr/include doesn't + necessarily exist. Also add emake -j1 option to avoid make failures. 16 Jun 2008; <solar@gentoo.org> mtd-utils-20080102.ebuild: - don't use argp.h http://patchwork.ozlabs.org/linux-mtd/patch?id=17501 diff --git a/sys-fs/mtd-utils/mtd-utils-9999.ebuild b/sys-fs/mtd-utils/mtd-utils-9999.ebuild index 809e6f912065..49f698615b80 100644 --- a/sys-fs/mtd-utils/mtd-utils-9999.ebuild +++ b/sys-fs/mtd-utils/mtd-utils-9999.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/mtd-utils/mtd-utils-9999.ebuild,v 1.3 2008/02/01 13:58:30 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/mtd-utils/mtd-utils-9999.ebuild,v 1.4 2008/06/23 00:54:37 zmedico Exp $ ECVS_USER="anoncvs" ECVS_PASS="anoncvs" @@ -34,8 +34,8 @@ src_unpack() { } src_compile() { - local myflags="" - use xattr || myflags="WITHOUT_XATTR=1" + local myflags="-j1" + use xattr || myflags+=" WITHOUT_XATTR=1" emake DESTDIR="${D}" \ OPTFLAGS="${CFLAGS}" \ LDFLAGS="${LDFLAGS}" \ @@ -45,7 +45,7 @@ src_compile() { src_install() { emake install DESTDIR="${D}" || die - rm -r "${D}"/usr/include || die + rm -rf "${D}"/usr/include || die dodoc *.txt # TODO: check ubi-utils for docs+scripts } |