summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-08-16 01:58:52 +0000
committerMike Frysinger <vapier@gentoo.org>2008-08-16 01:58:52 +0000
commit76fff326cd198019eff2ceb6ed95ed53a6e0bcf8 (patch)
tree38faa70bb56a43895653ba79a3ea9a3bbf7104cc /sys-libs/com_err
parentVersion bump. (diff)
downloadgentoo-2-76fff326cd198019eff2ceb6ed95ed53a6e0bcf8.tar.gz
gentoo-2-76fff326cd198019eff2ceb6ed95ed53a6e0bcf8.tar.bz2
gentoo-2-76fff326cd198019eff2ceb6ed95ed53a6e0bcf8.zip
Version bump.
(Portage version: 2.2_rc8/cvs/Linux 2.6.26.1 x86_64)
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.41.0.ebuild79
2 files changed, 85 insertions, 1 deletions
diff --git a/sys-libs/com_err/ChangeLog b/sys-libs/com_err/ChangeLog
index d11709da4a95..e7a317013f03 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-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/com_err/ChangeLog,v 1.75 2008/06/18 09:00:41 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/com_err/ChangeLog,v 1.76 2008/08/16 01:58:52 vapier Exp $
+
+*com_err-1.41.0 (16 Aug 2008)
+
+ 16 Aug 2008; Mike Frysinger <vapier@gentoo.org> +com_err-1.41.0.ebuild:
+ Version bump.
*com_err-1.40.11 (18 Jun 2008)
diff --git a/sys-libs/com_err/com_err-1.41.0.ebuild b/sys-libs/com_err/com_err-1.41.0.ebuild
new file mode 100644
index 000000000000..d23a9c0ee272
--- /dev/null
+++ b/sys-libs/com_err/com_err-1.41.0.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2008 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.41.0.ebuild,v 1.1 2008/08/16 01:58:52 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 )
+ sys-devel/bc"
+
+S=${WORKDIR}/e2fsprogs-${PV}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${PN}-1.39-makefile.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 !elibc_uclibc tls) \
+ $(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
+
+ emake -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 different"
+ ewarn "version of com_err -- those things need to be recompiled."
+ ewarn "Sorry for the inconvenience"
+ echo
+ epause 10
+ ebeep
+}