diff options
author | Daniel Robbins <drobbins@gentoo.org> | 2002-05-04 22:50:18 +0000 |
---|---|---|
committer | Daniel Robbins <drobbins@gentoo.org> | 2002-05-04 22:50:18 +0000 |
commit | 8ea424e4e50f1e82eacf74d51422fc1a3f0b0de8 (patch) | |
tree | e8d3be8fad6c914742e9ac83d3e77994d66ae93f /sys-libs | |
parent | Added LICENSE, SLOT, $Headers. (diff) | |
download | gentoo-2-8ea424e4e50f1e82eacf74d51422fc1a3f0b0de8.tar.gz gentoo-2-8ea424e4e50f1e82eacf74d51422fc1a3f0b0de8.tar.bz2 gentoo-2-8ea424e4e50f1e82eacf74d51422fc1a3f0b0de8.zip |
Removed libgd support to prevent X, libpng and friends from being pulled
in during bootstrap -- ow!
Diffstat (limited to 'sys-libs')
-rw-r--r-- | sys-libs/glibc/glibc-2.2.5-r2.ebuild | 14 | ||||
-rw-r--r-- | sys-libs/glibc/glibc-2.2.5-r3.ebuild | 14 |
2 files changed, 8 insertions, 20 deletions
diff --git a/sys-libs/glibc/glibc-2.2.5-r2.ebuild b/sys-libs/glibc/glibc-2.2.5-r2.ebuild index 9936ced16c9f..d29a0a12543f 100644 --- a/sys-libs/glibc/glibc-2.2.5-r2.ebuild +++ b/sys-libs/glibc/glibc-2.2.5-r2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/glibc-2.2.5-r2.ebuild,v 1.7 2002/04/13 11:06:40 azarah Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/glibc-2.2.5-r2.ebuild,v 1.8 2002/05/04 22:50:18 drobbins Exp $ S=${WORKDIR}/${P} DESCRIPTION="GNU libc6 (also called glibc2) C library" @@ -10,12 +10,12 @@ HOMEPAGE="http://www.gnu.org/software/libc/libc.html" #portage-1.8.9 needed for smart library merging feature (avoids segfaults on glibc upgrade) #drobbins, 18 Mar 2002: we now rely on the system profile to select the correct linus-headers -DEPEND="sys-kernel/linux-headers nls? ( sys-devel/gettext ) gd? ( media-libs/libgd )" +DEPEND="sys-kernel/linux-headers nls? ( sys-devel/gettext )" RDEPEND="sys-kernel/linux-headers" if [ -z "`use build`" ] then - RDEPEND="$RDEPEND gd? ( sys-libs/zlib media-libs/libpng ) sys-apps/baselayout" + RDEPEND="$RDEPEND sys-apps/baselayout" else RDEPEND="$RDEPEND >=sys-apps/portage-1.8.9_pre1 sys-apps/baselayout" fi @@ -69,17 +69,11 @@ src_compile() { local myconf # If we build for the build system we use the kernel headers from the target [ "`use build`" ] && myconf="--with-header=${ROOT}usr/include" - if [ "`use gd`" ] && [ -z "`use bootstrap`" ] && [ -z "`use build`" ] - then - myconf="${myconf} --with-gd=yes" - else - myconf="${myconf} --with-gd=no" - fi [ -z "`use nls`" ] && myconf="${myconf} --disable-nls" rm -rf buildhere mkdir buildhere cd buildhere - ../configure --host=${CHOST} --without-cvs --enable-add-ons=linuxthreads --disable-profile --prefix=/usr \ + ../configure --host=${CHOST} --with-gd=no --without-cvs --enable-add-ons=linuxthreads --disable-profile --prefix=/usr \ --mandir=/usr/share/man --infodir=/usr/share/info --libexecdir=/usr/lib/misc ${myconf} || die #This next option breaks the Sun JDK and the IBM JDK diff --git a/sys-libs/glibc/glibc-2.2.5-r3.ebuild b/sys-libs/glibc/glibc-2.2.5-r3.ebuild index f0f7e821ead7..e05f5c37d246 100644 --- a/sys-libs/glibc/glibc-2.2.5-r3.ebuild +++ b/sys-libs/glibc/glibc-2.2.5-r3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/glibc-2.2.5-r3.ebuild,v 1.2 2002/04/13 11:06:40 azarah Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/glibc-2.2.5-r3.ebuild,v 1.3 2002/05/04 22:50:18 drobbins Exp $ S=${WORKDIR}/${P} DESCRIPTION="GNU libc6 (also called glibc2) C library" @@ -10,12 +10,12 @@ HOMEPAGE="http://www.gnu.org/software/libc/libc.html" #portage-1.8.9 needed for smart library merging feature (avoids segfaults on glibc upgrade) #drobbins, 18 Mar 2002: we now rely on the system profile to select the correct linus-headers -DEPEND="sys-kernel/linux-headers nls? ( sys-devel/gettext ) gd? ( media-libs/libgd )" +DEPEND="sys-kernel/linux-headers nls? ( sys-devel/gettext )" RDEPEND="sys-kernel/linux-headers" if [ -z "`use build`" ] then - RDEPEND="$RDEPEND gd? ( sys-libs/zlib media-libs/libpng ) sys-apps/baselayout" + RDEPEND="$RDEPEND sys-apps/baselayout" else RDEPEND="$RDEPEND >=sys-apps/portage-1.8.9_pre1 sys-apps/baselayout" fi @@ -72,17 +72,11 @@ src_compile() { local myconf # If we build for the build system we use the kernel headers from the target [ "`use build`" ] && myconf="--with-header=${ROOT}usr/include" - if [ "`use gd`" ] && [ -z "`use bootstrap`" ] && [ -z "`use build`" ] - then - myconf="${myconf} --with-gd=yes" - else - myconf="${myconf} --with-gd=no" - fi [ -z "`use nls`" ] && myconf="${myconf} --disable-nls" rm -rf buildhere mkdir buildhere cd buildhere - ../configure --host=${CHOST} --without-cvs --enable-add-ons=linuxthreads --disable-profile --prefix=/usr \ + ../configure --host=${CHOST} --with-gd=no --without-cvs --enable-add-ons=linuxthreads --disable-profile --prefix=/usr \ --mandir=/usr/share/man --infodir=/usr/share/info --libexecdir=/usr/lib/misc ${myconf} || die #This next option breaks the Sun JDK and the IBM JDK |