summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-04-27 22:14:30 +0000
committerMike Frysinger <vapier@gentoo.org>2008-04-27 22:14:30 +0000
commit720075867b455a10881b8c3795a12bc8314d3279 (patch)
tree3716cf57a87ebaef96dad2428f53ef853aa3cd8d /sys-libs/com_err
parentold (diff)
downloadgentoo-2-720075867b455a10881b8c3795a12bc8314d3279.tar.gz
gentoo-2-720075867b455a10881b8c3795a12bc8314d3279.tar.bz2
gentoo-2-720075867b455a10881b8c3795a12bc8314d3279.zip
old
(Portage version: 2.2_pre5)
Diffstat (limited to 'sys-libs/com_err')
-rw-r--r--sys-libs/com_err/com_err-1.40.3.ebuild79
-rw-r--r--sys-libs/com_err/com_err-1.40.5.ebuild78
2 files changed, 0 insertions, 157 deletions
diff --git a/sys-libs/com_err/com_err-1.40.3.ebuild b/sys-libs/com_err/com_err-1.40.3.ebuild
deleted file mode 100644
index 264b0253909e..000000000000
--- a/sys-libs/com_err/com_err-1.40.3.ebuild
+++ /dev/null
@@ -1,79 +0,0 @@
-# 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.3.ebuild,v 1.9 2008/01/01 12:35:43 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
- 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/com_err-1.40.5.ebuild b/sys-libs/com_err/com_err-1.40.5.ebuild
deleted file mode 100644
index ac9f92d017a6..000000000000
--- a/sys-libs/com_err/com_err-1.40.5.ebuild
+++ /dev/null
@@ -1,78 +0,0 @@
-# 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.40.5.ebuild,v 1.1 2008/01/28 06:25:45 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 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
-}