summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Hill <rhill@gentoo.org>2014-05-20 08:00:40 +0000
committerRyan Hill <rhill@gentoo.org>2014-05-20 08:00:40 +0000
commitf4115df1f16479529a2ec26b0016018de9cf6728 (patch)
treeca932410bdf9388f0031401b49a408c511e3074e /sys-devel/gcc
parentBump (diff)
downloadgentoo-2-f4115df1f16479529a2ec26b0016018de9cf6728.tar.gz
gentoo-2-f4115df1f16479529a2ec26b0016018de9cf6728.tar.bz2
gentoo-2-f4115df1f16479529a2ec26b0016018de9cf6728.zip
Stop using einfo/eerror in fix_libtool_files.sh to avoid a dependency on
sys-apps/gentoo-functions (bug #504434). Signed-off-by: Ryan Hill <rhill@gentoo.org> (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 957A8463)
Diffstat (limited to 'sys-devel/gcc')
-rw-r--r--sys-devel/gcc/ChangeLog6
-rw-r--r--sys-devel/gcc/files/fix_libtool_files.sh11
2 files changed, 10 insertions, 7 deletions
diff --git a/sys-devel/gcc/ChangeLog b/sys-devel/gcc/ChangeLog
index 150b9813f6e5..4f8c36349455 100644
--- a/sys-devel/gcc/ChangeLog
+++ b/sys-devel/gcc/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-devel/gcc
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/ChangeLog,v 1.1001 2014/05/18 08:33:52 rhill Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/ChangeLog,v 1.1002 2014/05/20 08:00:39 rhill Exp $
+
+ 20 May 2014; Ryan Hill <rhill@gentoo.org> files/fix_libtool_files.sh:
+ Stop using einfo/eerror in fix_libtool_files.sh to avoid a dependency on
+ sys-apps/gentoo-functions (bug #504434).
*gcc-4.9.0 (18 May 2014)
diff --git a/sys-devel/gcc/files/fix_libtool_files.sh b/sys-devel/gcc/files/fix_libtool_files.sh
index c55250b6bacc..0c8a42bdc67d 100644
--- a/sys-devel/gcc/files/fix_libtool_files.sh
+++ b/sys-devel/gcc/files/fix_libtool_files.sh
@@ -1,7 +1,7 @@
#!/bin/sh
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/files/fix_libtool_files.sh,v 1.16 2012/05/18 21:28:56 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/files/fix_libtool_files.sh,v 1.17 2014/05/20 08:00:40 rhill Exp $
usage() {
cat << "USAGE_END"
@@ -38,10 +38,9 @@ ARGV2=$2
ARGV3=$3
. /etc/profile || exit 1
-. /etc/init.d/functions.sh || exit 1
if [ ${EUID:-0} -ne 0 ] ; then
- eerror "${0##*/}: Must be root."
+ echo "${0##*/}: Must be root."
exit 1
fi
@@ -54,7 +53,7 @@ OLDCHOST=
AWKDIR="/usr/share/gcc-data"
if [ ! -r "${AWKDIR}/fixlafiles.awk" ] ; then
- eerror "${0##*/}: ${AWKDIR}/fixlafiles.awk does not exist!"
+ echo "${0##*/}: ${AWKDIR}/fixlafiles.awk does not exist!"
exit 1
fi
@@ -62,7 +61,7 @@ OLDVER=${ARGV1}
export OLDVER OLDCHOST
-einfo "Scanning libtool files for hardcoded gcc library paths..."
+echo "Scanning libtool files for hardcoded gcc library paths..."
exec gawk -f "${AWKDIR}/fixlafiles.awk"
# vim:ts=4