diff options
author | 2008-06-23 00:54:37 +0000 | |
---|---|---|
committer | 2008-06-23 00:54:37 +0000 | |
commit | c569686e978ab4d454099608dca33a597c3479c8 (patch) | |
tree | fc3c3bbb1df44afc70b75bc144a69cedda48cc04 /sys-fs/mtd-utils/mtd-utils-9999.ebuild | |
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/mtd-utils-9999.ebuild')
-rw-r--r-- | sys-fs/mtd-utils/mtd-utils-9999.ebuild | 8 |
1 files changed, 4 insertions, 4 deletions
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 } |