summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-libs/glibc/glibc-2.2-r2.ebuild')
-rw-r--r--sys-libs/glibc/glibc-2.2-r2.ebuild47
1 files changed, 15 insertions, 32 deletions
diff --git a/sys-libs/glibc/glibc-2.2-r2.ebuild b/sys-libs/glibc/glibc-2.2-r2.ebuild
index 5779c00b4ea5..1fd168ca6c3f 100644
--- a/sys-libs/glibc/glibc-2.2-r2.ebuild
+++ b/sys-libs/glibc/glibc-2.2-r2.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Achim Gottinger <achim@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/glibc-2.2-r2.ebuild,v 1.4 2000/11/17 01:03:07 drobbins Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/glibc-2.2-r2.ebuild,v 1.5 2000/11/30 23:14:00 achim Exp $
A="$P.tar.gz glibc-linuxthreads-${PV}.tar.gz"
S=${WORKDIR}/${P}
@@ -13,6 +13,10 @@ SRC_URI="ftp://sourceware.cygnus.com/pub/glibc/releases/glibc-${PV}.tar.gz
ftp://ftp.gnu.org/pub/gnu/glibc/glibc-${PV}.tar.gz
ftp://ftp.gnu.org/pub/gnu/glibc/glibc-linuxthreads-${PV}.tar.gz"
HOMEPAGE="http://www.gnu.org/software/libc/libc.html"
+DEPEND=""
+RDEPEND="$DEPEND
+ >=sys-apps/bash-2.04
+ >=sys-devel/perl-5.6"
src_compile() {
@@ -20,11 +24,11 @@ src_compile() {
mkdir buildhere
cd buildhere
try ../configure --host=${CHOST} --without-cvs \
- --enable-add-ons=linuxthreads,crypt,localedata \
+ --enable-add-ons=linuxthreads \
--disable-profile --prefix=/usr \
--enable-kernel=2.2.17
- try make
- make check
+ try make PARALLELMFLAGS=${MAKEOPTS}
+# make check
}
src_unpack() {
@@ -40,41 +44,20 @@ src_install() {
mkdir ${D}
dodir /etc/rc.d/init.d
export LC_ALL=C
- try make install_root=${D} install -C buildhere
- try make install_root=${D} info -C buildhere
- try make install_root=${D} localedata/install-locales -C buildhere
- try make -C linuxthreads/man
+ try make PARALELLMFLAGS=${MAKEOPTS} install_root=${D} install -C buildhere
+ try make PARALELLMFLAGS=${MAKEOPTS} install_root=${D} info -C buildhere
+ try make PARALELLMFLAGS=${MAKEOPTS} install_root=${D} localedata/install-locales -C buildhere
+ try make PARALELLMFLAGS=${MAKEOPTS} -C linuxthreads/man
mkdir -p ${D}/usr/man/man3
install -m 0644 linuxthreads/man/*.3thr ${D}/usr/man/man3
chmod 755 ${D}/usr/libexec/pt_chown
install -m 644 nscd/nscd.conf ${D}/etc
install -m 755 ${O}/files/nscd ${D}/etc/rc.d/init.d/nscd
- dodir /var/db
- install -m 644 nss/db-Makefile ${D}/var/db/Makefile
rm ${D}/lib/ld-linux.so.2
rm ${D}/lib/libc.so.6
- rm -rf documentation
- mkdir documentation
- mkdir documentation/html
- cp linuxthreads/ChangeLog documentation/ChangeLog.threads
- cp linuxthreads/Changes documentation/Changes.threads
- cp linuxthreads/README documentation/README.threads
- cp linuxthreads/FAQ.html documentation/html/FAQ-threads.html
- cp crypt/README documentation/README.crypt
- cp db2/README documentation/README.db2
- cp db2/mutex/README documentation/README.db2.mutex
- cp timezone/README documentation/README.timezone
- cp ChangeLog* documentation
- dodoc documentation/*
- docinto html
- dodoc documentation/html/*.html
- dodir /usr/doc/${PF}/examples.threads
- install -m0644 linuxthreads/Examples/*.c ${D}/usr/doc/${PF}/examples.threads
- install -m0644 linuxthreads/Examples/Makefile ${D}/usr/doc/${PF}/examples.threads
- # Patch ucontext.h (needed for lynx, xfree)
- #cd ${D}/usr/include/sys
- #cp ucontext.h ucontext.h.orig
- #sed -e "s/ERR/GLIBCBUG/g" ucontext.h.orig > ucontext.h
+
+ dodoc BUGS ChangeLog* CONFORMANCE COPYING* FAQ INTERFACE NEWS NOTES \
+ PROJECTS README*
}
pkg_preinst()