summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-04-25 00:24:47 +0000
committerMike Frysinger <vapier@gentoo.org>2006-04-25 00:24:47 +0000
commit864600f721bf0815e31c6440a6357fd16f8015bb (patch)
treed437637697edb059239d9e0566187dc4178e324f /eclass
parent~amd64 added. (bug #130755) (diff)
downloadhistorical-864600f721bf0815e31c6440a6357fd16f8015bb.tar.gz
historical-864600f721bf0815e31c6440a6357fd16f8015bb.tar.bz2
historical-864600f721bf0815e31c6440a6357fd16f8015bb.zip
make sure fix_libtool_files.sh and fixlafiles.awk are never uninstalled #87647
Diffstat (limited to 'eclass')
-rw-r--r--eclass/toolchain.eclass7
1 files changed, 4 insertions, 3 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index ebf4f6cd0eae..dea08f31c807 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.273 2006/04/23 21:33:32 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.274 2006/04/25 00:24:47 vapier Exp $
HOMEPAGE="http://gcc.gnu.org/"
LICENSE="GPL-2 LGPL-2.1"
@@ -875,8 +875,9 @@ gcc-compiler_pkg_postinst() {
}
gcc-compiler_pkg_prerm() {
- # TODO: flesh this out when I care
- return 0
+ # Don't let these files be uninstalled #87647
+ touch -c "${ROOT}"/sbin/fix_libtool_files.sh \
+ "${ROOT}"/lib/rcscripts/awk/fixlafiles.awk
}
gcc-compiler_pkg_postrm() {