summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-07-14 17:11:17 +0000
committerMike Frysinger <vapier@gentoo.org>2007-07-14 17:11:17 +0000
commitaa6042b07ab4ed369ba28243d1bd9a4f77f718c2 (patch)
tree15e8c0b333c1c0294d3b20db80d3f64de5e1f566 /sys-libs/com_err
parentold (diff)
downloadgentoo-2-aa6042b07ab4ed369ba28243d1bd9a4f77f718c2.tar.gz
gentoo-2-aa6042b07ab4ed369ba28243d1bd9a4f77f718c2.tar.bz2
gentoo-2-aa6042b07ab4ed369ba28243d1bd9a4f77f718c2.zip
Version bump.
(Portage version: 2.1.3_rc8)
Diffstat (limited to 'sys-libs/com_err')
-rw-r--r--sys-libs/com_err/ChangeLog7
-rw-r--r--sys-libs/com_err/com_err-1.40.2.ebuild78
-rw-r--r--sys-libs/com_err/files/digest-com_err-1.40.23
3 files changed, 87 insertions, 1 deletions
diff --git a/sys-libs/com_err/ChangeLog b/sys-libs/com_err/ChangeLog
index 9d74e7b9d69b..7cace5821c5f 100644
--- a/sys-libs/com_err/ChangeLog
+++ b/sys-libs/com_err/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-libs/com_err
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/com_err/ChangeLog,v 1.30 2007/07/09 03:14:22 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/com_err/ChangeLog,v 1.31 2007/07/14 17:11:17 vapier Exp $
+
+*com_err-1.40.2 (14 Jul 2007)
+
+ 14 Jul 2007; Mike Frysinger <vapier@gentoo.org> +com_err-1.40.2.ebuild:
+ Version bump.
*com_err-1.40.1 (09 Jul 2007)
diff --git a/sys-libs/com_err/com_err-1.40.2.ebuild b/sys-libs/com_err/com_err-1.40.2.ebuild
new file mode 100644
index 000000000000..545dbda4cd0e
--- /dev/null
+++ b/sys-libs/com_err/com_err-1.40.2.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/com_err/com_err-1.40.2.ebuild,v 1.1 2007/07/14 17:11:17 vapier Exp $
+
+inherit eutils flag-o-matic toolchain-funcs
+
+DESCRIPTION="common error display library"
+HOMEPAGE="http://e2fsprogs.sourceforge.net/"
+SRC_URI="mirror://sourceforge/e2fsprogs/e2fsprogs-${PV}.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=""
+DEPEND="nls? ( sys-devel/gettext )"
+
+S=${WORKDIR}/e2fsprogs-${PV}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${PN}-1.39-makefile.patch
+ epatch "${FILESDIR}"/${PN}-1.40-headers.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 \
+ --with-ldopts="${LDFLAGS}" \
+ $(use_enable nls) \
+ || die
+ emake -C lib/et || die
+}
+
+src_test() {
+ make -C lib/et check || die "make check failed"
+}
+
+src_install() {
+ export LDCONFIG=/bin/true
+ export CC=$(tc-getCC)
+ export STRIP=/bin/true
+
+ make -C lib/et DESTDIR="${D}" install || die
+ dosed '/^ET_DIR=/s:=.*:=/usr/share/et:' /usr/bin/compile_et
+ dosym et/com_err.h /usr/include/com_err.h
+
+ dolib.a lib/libcom_err.a || die "dolib.a"
+ dodir /$(get_libdir)
+ mv "${D}"/usr/$(get_libdir)/*$(get_libname)* "${D}"/$(get_libdir)/ || die "move $(get_libname)"
+ gen_usr_ldscript libcom_err$(get_libname)
+}
+
+pkg_postinst() {
+ echo
+ ewarn "PLEASE PLEASE take note of this"
+ ewarn "Please make *sure* to run revdep-rebuild now"
+ ewarn "Certain things on your system may have linked against a"
+ ewarn "different version of com_err -- those things need to be"
+ ewarn "recompiled. Sorry for the inconvenience"
+ echo
+ epause 10
+ ebeep
+}
diff --git a/sys-libs/com_err/files/digest-com_err-1.40.2 b/sys-libs/com_err/files/digest-com_err-1.40.2
new file mode 100644
index 000000000000..45b61eec8eb9
--- /dev/null
+++ b/sys-libs/com_err/files/digest-com_err-1.40.2
@@ -0,0 +1,3 @@
+MD5 130ce559a0f311ea2bc04a47b4982d0a e2fsprogs-1.40.2.tar.gz 3965919
+RMD160 6e4ec42d50fa6f0762b5c4f58c09a0fa71a9af79 e2fsprogs-1.40.2.tar.gz 3965919
+SHA256 8bbdfd8866b60edec27fee58611d98ef841892c4e2cd0f0dacf194f20a716a63 e2fsprogs-1.40.2.tar.gz 3965919