summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-09-01 22:29:46 +0000
committerMike Frysinger <vapier@gentoo.org>2008-09-01 22:29:46 +0000
commite25339af208f8bbe0d17fe9d2d6e6c355d93890c (patch)
tree244c11326b43ad63039c16bf26a793338f195e2b /sys-libs/e2fsprogs-libs
parentRemoved dev-util/cmake-2.6 from package.mask. (diff)
downloadgentoo-2-e25339af208f8bbe0d17fe9d2d6e6c355d93890c.tar.gz
gentoo-2-e25339af208f8bbe0d17fe9d2d6e6c355d93890c.tar.bz2
gentoo-2-e25339af208f8bbe0d17fe9d2d6e6c355d93890c.zip
Version bump.
(Portage version: 2.2_rc8/cvs/Linux 2.6.26.2 x86_64)
Diffstat (limited to 'sys-libs/e2fsprogs-libs')
-rw-r--r--sys-libs/e2fsprogs-libs/ChangeLog8
-rw-r--r--sys-libs/e2fsprogs-libs/e2fsprogs-libs-1.41.1.ebuild64
-rw-r--r--sys-libs/e2fsprogs-libs/files/e2fsprogs-libs-1.41.1-subs.patch17
3 files changed, 88 insertions, 1 deletions
diff --git a/sys-libs/e2fsprogs-libs/ChangeLog b/sys-libs/e2fsprogs-libs/ChangeLog
index 6c088a89d3a8..ee7e490db4eb 100644
--- a/sys-libs/e2fsprogs-libs/ChangeLog
+++ b/sys-libs/e2fsprogs-libs/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-libs/e2fsprogs-libs
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/e2fsprogs-libs/ChangeLog,v 1.2 2008/08/16 04:59:44 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/e2fsprogs-libs/ChangeLog,v 1.3 2008/09/01 22:29:36 vapier Exp $
+
+*e2fsprogs-libs-1.41.1 (01 Sep 2008)
+
+ 01 Sep 2008; Mike Frysinger <vapier@gentoo.org>
+ +files/e2fsprogs-libs-1.41.1-subs.patch, +e2fsprogs-libs-1.41.1.ebuild:
+ Version bump.
16 Aug 2008; Mike Frysinger <vapier@gentoo.org>
+files/e2fsprogs-libs-1.41.0-null-blkid.patch,
diff --git a/sys-libs/e2fsprogs-libs/e2fsprogs-libs-1.41.1.ebuild b/sys-libs/e2fsprogs-libs/e2fsprogs-libs-1.41.1.ebuild
new file mode 100644
index 000000000000..d41e7b325afb
--- /dev/null
+++ b/sys-libs/e2fsprogs-libs/e2fsprogs-libs-1.41.1.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/e2fsprogs-libs/e2fsprogs-libs-1.41.1.ebuild,v 1.1 2008/09/01 22:29:36 vapier Exp $
+
+inherit eutils flag-o-matic toolchain-funcs
+
+DESCRIPTION="e2fsprogs libraries (common error, subsystem, uuid, block id)"
+HOMEPAGE="http://e2fsprogs.sourceforge.net/"
+SRC_URI="mirror://sourceforge/e2fsprogs/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE="nls"
+
+RDEPEND="!sys-libs/com_err
+ !sys-libs/ss
+ !<sys-fs/e2fsprogs-1.41"
+DEPEND="nls? ( sys-devel/gettext )
+ sys-devel/bc"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${PN}-1.41.0-makefile.patch
+ epatch "${FILESDIR}"/${PN}-1.41.1-subs.patch
+}
+
+src_compile() {
+ export LDCONFIG=/bin/true
+ export CC=$(tc-getCC)
+ export STRIP=/bin/true
+
+ # We want to use the "bsd" libraries while building on Darwin, but while
+ # building on other Gentoo/*BSD we prefer elf-naming scheme.
+ local libtype
+ case ${CHOST} in
+ *-darwin*) libtype=bsd;;
+ *) libtype=elf;;
+ esac
+
+ econf \
+ --enable-${libtype}-shlibs \
+ $(use_enable !elibc_uclibc tls) \
+ $(use_enable nls) \
+ || die
+ emake || die
+}
+
+src_install() {
+ export LDCONFIG=/bin/true
+ export CC=$(tc-getCC)
+ export STRIP=/bin/true
+
+ emake DESTDIR="${D}" install || die
+
+ dodir /$(get_libdir)
+ local lib slib
+ for lib in "${D}"/usr/$(get_libdir)/*.a ; do
+ slib=${lib##*/}
+ mv "${lib%.a}"$(get_libname)* "${D}"/$(get_libdir)/ || die "moving lib ${slib}"
+ gen_usr_ldscript ${slib%.a}$(get_libname)
+ done
+}
diff --git a/sys-libs/e2fsprogs-libs/files/e2fsprogs-libs-1.41.1-subs.patch b/sys-libs/e2fsprogs-libs/files/e2fsprogs-libs-1.41.1-subs.patch
new file mode 100644
index 000000000000..ed1852c5f175
--- /dev/null
+++ b/sys-libs/e2fsprogs-libs/files/e2fsprogs-libs-1.41.1-subs.patch
@@ -0,0 +1,17 @@
+http://sourceforge.net/tracker/index.php?func=detail&aid=2087502&group_id=2406&atid=102406
+
+--- Makefile.in
++++ Makefile.in
+@@ -26,9 +240,9 @@
+ $(MAKE) docs
+
+ subs:
+- @for i in $(SUBS) ; do if test -d `dirname $$i` ; then $(MAKE) $$i ; fi ; done
+- @(test -d lib/et && cd lib/et && $(MAKE) compile_et)
+- @(test -d lib/ext2fs && cd lib/ext2fs && $(MAKE) ext2_err.h)
++ for i in $(SUBS) ; do if test -d `dirname $$i` ; then $(MAKE) $$i || exit $$? ; fi ; done
++ if test -d lib/et ; then cd lib/et && $(MAKE) compile_et ; fi
++ if test -d lib/ext2fs ; then cd lib/ext2fs && $(MAKE) ext2_err.h ; fi
+
+ progs: subs all-progs-recursive
+ libs: subs all-libs-recursive