From 90b713855b918e3ce28a47ebe10532dc05e62736 Mon Sep 17 00:00:00 2001 From: Martin Schlemmer Date: Sun, 4 Sep 2005 20:23:42 +0000 Subject: [PATCH] Make --no-uclibc work again. --- eclass/libtool.eclass | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/eclass/libtool.eclass b/eclass/libtool.eclass index 13d21c9bebf6..94d719c537d8 100644 --- a/eclass/libtool.eclass +++ b/eclass/libtool.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/libtool.eclass,v 1.55 2005/09/04 18:40:48 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/libtool.eclass,v 1.56 2005/09/04 20:23:42 azarah Exp $ # # Author: Martin Schlemmer # @@ -121,17 +121,14 @@ elibtoolize() { local do_portage="no" local do_reversedeps="no" local do_only_patches="no" + local do_uclibc="yes" local deptoremove= local my_dirlist= - local elt_patches="portage relink max_cmd_len sed test tmp \ - uclibc-conf uclibc-ltconf" + local elt_patches="portage relink max_cmd_len sed test tmp" local start_dir="${PWD}" my_dirlist="$(ELT_find_ltmain_sh)" - [[ ${CHOST} == *"-freebsd"* ]] && \ - elt_patches="${elt_patches} fbsd-conf" - for x in "$@" ; do case "${x}" in "--portage") @@ -167,7 +164,7 @@ elibtoolize() { fi ;; "--no-uclibc") - NO_UCLIBCTOOLIZE=1 + do_uclibc="no" ;; *) eerror "Invalid elibtoolize option: $x" @@ -175,6 +172,12 @@ elibtoolize() { esac done + [[ ${do_uclibc} == "yes" ]] && \ + elt_patches="${elt_patches} uclibc-conf uclibc-ltconf" + + [[ ${CHOST} == *"-freebsd"* ]] && \ + elt_patches="${elt_patches} fbsd-conf" + if use ppc-macos ; then local opts [[ -f Makefile.am ]] && opts="--automake" -- 2.26.2