summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2012-03-22 05:52:13 +0000
committerPatrick Lauer <patrick@gentoo.org>2012-03-22 05:52:13 +0000
commitc10bb25e39073abac2c1a9622b43feb39b6924d0 (patch)
tree43a09645293db1c1e71b152d1abf2234a82ed8a5 /dev-libs/libowfat/libowfat-0.28-r1.ebuild
parentAdd AT_M4DIR for introspection.m4 (bug #408781, thanks to Thomas Beutin for r... (diff)
downloadgentoo-2-c10bb25e39073abac2c1a9622b43feb39b6924d0.tar.gz
gentoo-2-c10bb25e39073abac2c1a9622b43feb39b6924d0.tar.bz2
gentoo-2-c10bb25e39073abac2c1a9622b43feb39b6924d0.zip
Compile fix for #409139 #383031
(Portage version: 2.2.0_alpha93/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs/libowfat/libowfat-0.28-r1.ebuild')
-rw-r--r--dev-libs/libowfat/libowfat-0.28-r1.ebuild9
1 files changed, 5 insertions, 4 deletions
diff --git a/dev-libs/libowfat/libowfat-0.28-r1.ebuild b/dev-libs/libowfat/libowfat-0.28-r1.ebuild
index ca2547503983..db6423aae0f3 100644
--- a/dev-libs/libowfat/libowfat-0.28-r1.ebuild
+++ b/dev-libs/libowfat/libowfat-0.28-r1.ebuild
@@ -1,9 +1,9 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libowfat/libowfat-0.28-r1.ebuild,v 1.7 2012/01/31 22:10:07 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libowfat/libowfat-0.28-r1.ebuild,v 1.8 2012/03/22 05:52:13 patrick Exp $
EAPI=2
-inherit flag-o-matic toolchain-funcs
+inherit flag-o-matic toolchain-funcs eutils
DESCRIPTION="reimplement libdjb - excellent libraries from Dan Bernstein."
SRC_URI="http://dl.fefe.de/${P}.tar.bz2"
@@ -29,16 +29,17 @@ src_prepare() {
-e "s:^prefix.*:prefix=/usr:" \
-e "s:^INCLUDEDIR.*:INCLUDEDIR=\${prefix}/include/libowfat:" \
-i GNUmakefile || die "sed failed"
+ epatch "${FILESDIR}/libowfat-0.28-GNUmakefile.patch"
}
src_compile() {
- emake \
+ emake -j1 \
CC=$(tc-getCC) \
$( use diet || echo 'DIET=' )
}
src_install () {
- emake \
+ emake -j1 \
LIBDIR="${D}/usr/lib" \
MAN3DIR="${D}/usr/share/man/man3" \
INCLUDEDIR="${D}/usr/include/libowfat" \