summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2002-11-24 04:03:55 +0000
committerMartin Schlemmer <azarah@gentoo.org>2002-11-24 04:03:55 +0000
commitb7b154b0216dd5bba5f26bc04c67f5393ed643ef (patch)
tree4be922eeb682b03b0216033d717ad4d4dc6b6d98 /sys-devel/gcc
parentrename awk script (diff)
downloadhistorical-b7b154b0216dd5bba5f26bc04c67f5393ed643ef.tar.gz
historical-b7b154b0216dd5bba5f26bc04c67f5393ed643ef.tar.bz2
historical-b7b154b0216dd5bba5f26bc04c67f5393ed643ef.zip
fixor
Diffstat (limited to 'sys-devel/gcc')
-rw-r--r--sys-devel/gcc/files/awk/fixlafiles.awk4
-rw-r--r--sys-devel/gcc/gcc-3.2.1-r5.ebuild6
-rw-r--r--sys-devel/gcc/gcc-3.2.1.ebuild6
3 files changed, 10 insertions, 6 deletions
diff --git a/sys-devel/gcc/files/awk/fixlafiles.awk b/sys-devel/gcc/files/awk/fixlafiles.awk
index c0b4de676835..2a8d82e5e223 100644
--- a/sys-devel/gcc/files/awk/fixlafiles.awk
+++ b/sys-devel/gcc/files/awk/fixlafiles.awk
@@ -1,7 +1,7 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# Author: Martin Schlemmer <azarah@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/files/awk/fixlafiles.awk,v 1.1 2002/11/24 02:13:16 azarah Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/files/awk/fixlafiles.awk,v 1.2 2002/11/24 04:03:55 azarah Exp $
function einfo(string)
{
@@ -92,7 +92,7 @@ BEGIN {
print la_data >> (la_files ".new")
}
- close(la_files)
+ close(la_files ".new")
system("mv -f " la_files ".new " la_files)
}
diff --git a/sys-devel/gcc/gcc-3.2.1-r5.ebuild b/sys-devel/gcc/gcc-3.2.1-r5.ebuild
index 9aaf6595146e..22a6adc703f0 100644
--- a/sys-devel/gcc/gcc-3.2.1-r5.ebuild
+++ b/sys-devel/gcc/gcc-3.2.1-r5.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-3.2.1-r5.ebuild,v 1.2 2002/11/24 01:20:13 azarah Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-3.2.1-r5.ebuild,v 1.3 2002/11/24 04:03:55 azarah Exp $
IUSE="static nls bootstrap java build"
@@ -433,7 +433,9 @@ pkg_postinst() {
then
OLD_GCC_VERSION="`cat ${WORKDIR}/.oldgccversion`"
- ${FILESDIR}/fix_libtool_files.sh ${OLD_GCC_VERSION}
+ cp -f ${FILESDIR}/fix_libtool_files.sh ${T}
+ chmod +x ${T}/fix_libtool_files.sh
+ ${T}/fix_libtool_files.sh ${OLD_GCC_VERSION}
fi
# Fix ncurses b0rking (if r5 isn't unmerged)
diff --git a/sys-devel/gcc/gcc-3.2.1.ebuild b/sys-devel/gcc/gcc-3.2.1.ebuild
index 6075774ef021..b4efc7f4ee95 100644
--- a/sys-devel/gcc/gcc-3.2.1.ebuild
+++ b/sys-devel/gcc/gcc-3.2.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-3.2.1.ebuild,v 1.2 2002/11/24 01:20:13 azarah Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-3.2.1.ebuild,v 1.3 2002/11/24 04:03:55 azarah Exp $
IUSE="static nls bootstrap java build"
@@ -393,7 +393,9 @@ pkg_postinst() {
then
OLD_GCC_VERSION="`cat ${WORKDIR}/.oldgccversion`"
- ${FILESDIR}/fix_libtool_files.sh ${OLD_GCC_VERSION}
+ cp -f ${FILESDIR}/fix_libtool_files.sh ${T}
+ chmod +x ${T}/fix_libtool_files.sh
+ ${T}/fix_libtool_files.sh ${OLD_GCC_VERSION}
fi
}