summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAron Griffis <agriffis@gentoo.org>2004-03-21 04:51:05 +0000
committerAron Griffis <agriffis@gentoo.org>2004-03-21 04:51:05 +0000
commit68a36a5423865916a8a660cbaab0569f732e09e3 (patch)
treedb864ad43fc76b19c8321fa4c591fd73a68a5505 /eclass/vim.eclass
parentRemoving old ebuilds. (diff)
downloadhistorical-68a36a5423865916a8a660cbaab0569f732e09e3.tar.gz
historical-68a36a5423865916a8a660cbaab0569f732e09e3.tar.bz2
historical-68a36a5423865916a8a660cbaab0569f732e09e3.zip
fix bug 43885 by patching configure.in to be compatible with 9libs
Diffstat (limited to 'eclass/vim.eclass')
-rw-r--r--eclass/vim.eclass13
1 files changed, 7 insertions, 6 deletions
diff --git a/eclass/vim.eclass b/eclass/vim.eclass
index ede40dd31687..a308795bbcc9 100644
--- a/eclass/vim.eclass
+++ b/eclass/vim.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/vim.eclass,v 1.49 2004/02/16 04:23:22 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/vim.eclass,v 1.50 2004/03/21 04:51:05 agriffis Exp $
# Authors:
# Ryan Phillips <rphillips@gentoo.org>
@@ -14,10 +14,6 @@ EXPORT_FUNCTIONS src_unpack
IUSE="$IUSE ncurses nls acl"
-# Vim doesn't build with 9libs, though it would probably run with it
-# installed, so we don't put this in RDEPEND. See bug 35765
-DEPEND="$DEPEND !dev-libs/9libs"
-
if [ ${PN} != vim-core ]; then
IUSE="$IUSE cscope gpm perl python ruby"
DEPEND="$DEPEND
@@ -164,7 +160,12 @@ vim_src_unpack() {
${S}/runtime/doc/tagsrch.txt \
${S}/runtime/doc/usr_29.txt \
${S}/runtime/menu.vim \
- ${S}/src/configure.in
+ ${S}/src/configure.in || die 'sed failed'
+
+ # Don't be fooled by /usr/include/libc.h. When found, vim thinks
+ # this is NeXT, but it's actually just a file in dev-libs/9libs
+ # This fixes bug 43885 (20 Mar 2004 agriffis)
+ sed -i 's/ libc\.h / /' ${S}/src/configure.in || die 'sed failed'
}
src_compile() {