diff options
author | Martin Schlemmer <azarah@gentoo.org> | 2002-04-03 00:43:47 +0000 |
---|---|---|
committer | Martin Schlemmer <azarah@gentoo.org> | 2002-04-03 00:43:47 +0000 |
commit | 97a094e0e38c524d0915206efef60ff05a12c4fa (patch) | |
tree | 84296ecfa82c28fec19be4b79871807dc3695364 /sys-devel/binutils | |
parent | remove unneeded auto* (diff) | |
download | gentoo-2-97a094e0e38c524d0915206efef60ff05a12c4fa.tar.gz gentoo-2-97a094e0e38c524d0915206efef60ff05a12c4fa.tar.bz2 gentoo-2-97a094e0e38c524d0915206efef60ff05a12c4fa.zip |
fix perl DEPEND and manpages
Diffstat (limited to 'sys-devel/binutils')
-rw-r--r-- | sys-devel/binutils/binutils-2.12.90.0.1.ebuild | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/sys-devel/binutils/binutils-2.12.90.0.1.ebuild b/sys-devel/binutils/binutils-2.12.90.0.1.ebuild index 7f7249de6c60..4a92882f49a8 100644 --- a/sys-devel/binutils/binutils-2.12.90.0.1.ebuild +++ b/sys-devel/binutils/binutils-2.12.90.0.1.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License, v2 or later # Maintainer: System Team <system@gentoo.org> # Author: Daniel Robbins <drobbins@gentoo.org> -# $Header: /var/cvsroot/gentoo-x86/sys-devel/binutils/binutils-2.12.90.0.1.ebuild,v 1.3 2002/03/24 21:36:22 azarah Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/binutils/binutils-2.12.90.0.1.ebuild,v 1.4 2002/04/03 00:43:47 azarah Exp $ # NOTE to Maintainer: ChangeLog states that it no longer use perl to build # the manpages, but seems this is incorrect .... @@ -14,19 +14,19 @@ SRC_URI="http://ftp.kernel.org/pub/linux/devel/binutils/${P}.tar.bz2" DEPEND="virtual/glibc nls? ( sys-devel/gettext )" -[ -z "`use build`" ] && DEPEND="${DEPEND} sys-devel/perl" +[ -z "`use build`" ] && [ -z "`use bootstrap`" ] && DEPEND="${DEPEND} sys-devel/perl" src_compile() { - local myconf - + local myconf="" use nls && \ myconf="${myconf} --without-included-gettext" || \ myconf="${myconf} --disable-nls" # DO NOT LIBTOOLIZE, AS BINUTILS COME WITH ITS OWN VERSION # OF LIBTOOL!!!!!!! + libtoolize --copy --force ./configure --enable-shared \ --enable-64-bit-bfd \ @@ -47,9 +47,11 @@ src_compile() { if [ -z "`use build`" ] then - #nuke the manpages to recreate them (only use this if we have perl) - #uncomment next line if you want proper man pages. - #find . -name '*.1' -exec rm {} ';' + if [ -z "`use bootstrap`" ] + then + #nuke the manpages to recreate them (only use this if we have perl) + find . -name '*.1' -exec rm {} ';' + fi #make the info pages (makeinfo included with gcc is used) make info || die fi |