diff options
author | Alastair Tse <liquidx@gentoo.org> | 2003-03-16 18:01:09 +0000 |
---|---|---|
committer | Alastair Tse <liquidx@gentoo.org> | 2003-03-16 18:01:09 +0000 |
commit | f982ebd2924eb18661039907d6f71a6c1a005c87 (patch) | |
tree | bab66a1158c83e5711fa6b8ff2024145161320e3 /sys-libs | |
parent | new release (diff) | |
download | historical-f982ebd2924eb18661039907d6f71a6c1a005c87.tar.gz historical-f982ebd2924eb18661039907d6f71a6c1a005c87.tar.bz2 historical-f982ebd2924eb18661039907d6f71a6c1a005c87.zip |
added postinst fix for slang.h
Diffstat (limited to 'sys-libs')
-rw-r--r-- | sys-libs/slang/ChangeLog | 5 | ||||
-rw-r--r-- | sys-libs/slang/slang-1.4.8.ebuild | 14 |
2 files changed, 17 insertions, 2 deletions
diff --git a/sys-libs/slang/ChangeLog b/sys-libs/slang/ChangeLog index 26d416f524de..f0f4496cf590 100644 --- a/sys-libs/slang/ChangeLog +++ b/sys-libs/slang/ChangeLog @@ -1,9 +1,12 @@ # ChangeLog for sys-libs/slang # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/slang/ChangeLog,v 1.12 2003/02/22 16:46:40 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/slang/ChangeLog,v 1.13 2003/03/16 18:01:09 liquidx Exp $ *slang-1.4.8 (22 Feb 2003) + 16 Mar 2003; Alastair Tse <liquidx@gentoo.org> slang-1.4.8.ebuild: + add postinst cleanup for old ANSIfied slang.h, prevents #16678. + 22 Feb 2003; Aron Griffis <agriffis@gentoo.org> slang-1.4.8.ebuild : Update to latest version; thanks to Robert Bragg for the heads-up. Closes bug #15015. diff --git a/sys-libs/slang/slang-1.4.8.ebuild b/sys-libs/slang/slang-1.4.8.ebuild index 124859331bcc..03f44cb6baa0 100644 --- a/sys-libs/slang/slang-1.4.8.ebuild +++ b/sys-libs/slang/slang-1.4.8.ebuild @@ -1,6 +1,8 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/slang/slang-1.4.8.ebuild,v 1.2 2003/02/28 13:18:14 liquidx Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/slang/slang-1.4.8.ebuild,v 1.3 2003/03/16 18:01:09 liquidx Exp $ + +inherit gcc S=${WORKDIR}/${P} DESCRIPTION="Console display library used by most text viewer" @@ -27,3 +29,13 @@ src_install() { dodoc doc/*.txt doc/internal/*.txt doc/text/*.txt dohtml doc/*.html } + +pkg_postinst() { + # ensure gcc uses the most recent slang.h (#16678) + if [ "`gcc-major-version`" = "3" ]; then + if [ -f "`gcc-libpath`/include/slang.h" ]; then + einfo "Removing gcc buffered slang.h to avoid conflicts" + rm -f `gcc-libpath`/include/slang.h + fi + fi +} |