summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2012-07-24 19:22:22 +0000
committerFabian Groffen <grobian@gentoo.org>2012-07-24 19:22:22 +0000
commite1fb9f01b6b28ace08538c720a36aced277a4315 (patch)
tree8be1422b1d4af9037703851f866859ff477d7b33 /eclass
parentRemove /etc/make.globals symlink code (bug #427862). (diff)
downloadhistorical-e1fb9f01b6b28ace08538c720a36aced277a4315.tar.gz
historical-e1fb9f01b6b28ace08538c720a36aced277a4315.tar.bz2
historical-e1fb9f01b6b28ace08538c720a36aced277a4315.zip
_elibtoolize: properly set LIBTOOLIZE in case glibtoolize exists in the system, bug #418465
Diffstat (limited to 'eclass')
-rw-r--r--eclass/ChangeLog6
-rw-r--r--eclass/autotools.eclass5
2 files changed, 7 insertions, 4 deletions
diff --git a/eclass/ChangeLog b/eclass/ChangeLog
index 16ba74c58ba8..ad1601dc7084 100644
--- a/eclass/ChangeLog
+++ b/eclass/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for eclass directory
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.352 2012/07/23 19:06:20 sera Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.353 2012/07/24 19:22:22 grobian Exp $
+
+ 24 Jul 2012; Fabian Groffen <grobian@gentoo.org> autotools.eclass:
+ _elibtoolize: properly set LIBTOOLIZE in case glibtoolize exists in the
+ system
23 Jul 2012; Ralph Sennhauser <sera@gentoo.org> java-vm-2.eclass:
Add C to flags pass to pax-mark to ensure a header is created. Thanks to
diff --git a/eclass/autotools.eclass b/eclass/autotools.eclass
index e1da7a156b81..e5d7612f6e23 100644
--- a/eclass/autotools.eclass
+++ b/eclass/autotools.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/autotools.eclass,v 1.147 2012/06/08 04:55:39 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/autotools.eclass,v 1.148 2012/07/24 19:22:22 grobian Exp $
# @ECLASS: autotools.eclass
# @MAINTAINER:
@@ -292,8 +292,7 @@ eaclocal() {
#
# Note the '_' prefix .. to not collide with elibtoolize() from libtool.eclass.
_elibtoolize() {
- local LIBTOOLIZE=${LIBTOOLIZE:-libtoolize}
- type -P glibtoolize > /dev/null && LIBTOOLIZE=glibtoolize
+ local LIBTOOLIZE=${LIBTOOLIZE:-$(type -P glibtoolize > /dev/null && echo glibtoolize || echo libtoolize)}
[[ -f GNUmakefile.am || -f Makefile.am ]] && set -- "$@" --automake
if [[ $1 == "--install" ]] ; then