summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Ludd <solar@gentoo.org>2005-01-29 15:07:45 +0000
committerNed Ludd <solar@gentoo.org>2005-01-29 15:07:45 +0000
commit2be99cba889ff1d6a78553847b6d7a67396049a2 (patch)
tree1967df6c4f0529543b624b71286ab6604edbc0e6 /sys-fs/xfsprogs/xfsprogs-2.6.25.ebuild
parentAdd blockers on split packages derived from koffice. (diff)
downloadgentoo-2-2be99cba889ff1d6a78553847b6d7a67396049a2.tar.gz
gentoo-2-2be99cba889ff1d6a78553847b6d7a67396049a2.tar.bz2
gentoo-2-2be99cba889ff1d6a78553847b6d7a67396049a2.zip
- temp work around to disable posix_fadvise till such times as _syscall6() exists for uClibc. bug #73855
(Portage version: 2.0.51-r15)
Diffstat (limited to 'sys-fs/xfsprogs/xfsprogs-2.6.25.ebuild')
-rw-r--r--sys-fs/xfsprogs/xfsprogs-2.6.25.ebuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/sys-fs/xfsprogs/xfsprogs-2.6.25.ebuild b/sys-fs/xfsprogs/xfsprogs-2.6.25.ebuild
index b48ed97cabe8..3d3362079ad1 100644
--- a/sys-fs/xfsprogs/xfsprogs-2.6.25.ebuild
+++ b/sys-fs/xfsprogs/xfsprogs-2.6.25.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/xfsprogs/xfsprogs-2.6.25.ebuild,v 1.7 2005/01/19 13:19:40 kumba Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/xfsprogs/xfsprogs-2.6.25.ebuild,v 1.8 2005/01/29 15:07:45 solar Exp $
inherit flag-o-matic eutils
@@ -11,7 +11,7 @@ SRC_URI="ftp://oss.sgi.com/projects/xfs/download/cmd_tars/${P}.src.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~alpha amd64 hppa ia64 mips ~ppc ~sparc x86"
-IUSE="nls"
+IUSE="nls uclibc"
RDEPEND="virtual/libc
sys-fs/e2fsprogs"
@@ -22,6 +22,10 @@ DEPEND="${RDEPEND}
src_unpack() {
unpack ${A}
cd ${S}
+
+ # temp work around till a _syscall6() exists. bug #73855
+ use uclibc && epatch ${FILESDIR}/2.6.25-uclibc-fadvise.patch
+
sed -i \
-e '/^GCFLAGS/s:-O1::' \
-e "/^PKG_DOC_DIR/s:=.*:= /usr/share/doc/${PF}:" \