summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Olexa <darkside@gentoo.org>2010-04-15 19:23:34 +0000
committerJeremy Olexa <darkside@gentoo.org>2010-04-15 19:23:34 +0000
commit56d61cd3442e0677c75a19a17b9a718177a38591 (patch)
tree41b8b45505b7808e8031f35d46354cad49a9e598 /eclass/vim.eclass
parentFixed typo, sorry. (diff)
downloadhistorical-56d61cd3442e0677c75a19a17b9a718177a38591.tar.gz
historical-56d61cd3442e0677c75a19a17b9a718177a38591.tar.bz2
historical-56d61cd3442e0677c75a19a17b9a718177a38591.zip
Apply interix *vim workaround to eclass, bug 310991
Diffstat (limited to 'eclass/vim.eclass')
-rw-r--r--eclass/vim.eclass13
1 files changed, 11 insertions, 2 deletions
diff --git a/eclass/vim.eclass b/eclass/vim.eclass
index 4ced88182c57..9e3ccc3913dd 100644
--- a/eclass/vim.eclass
+++ b/eclass/vim.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/vim.eclass,v 1.184 2010/04/07 04:20:46 darkside Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/vim.eclass,v 1.185 2010/04/15 19:23:34 darkside Exp $
# Authors:
# Jim Ramsay <i.am@gentoo.org>
@@ -475,9 +475,18 @@ vim_src_configure() {
# Let Portage do the stripping. Some people like that.
export ac_cv_prog_STRIP="$(type -P true ) faking strip"
- # We have much more cooler tools in our prefix than /usr/local
+ # Keep Gentoo Prefix env contained within the EPREFIX
use prefix && myconf="${myconf} --without-local-dir"
+ if [[ ${MY_PN} == "*vim" ]] ; then
+ if [[ ${CHOST} == *-interix* ]]; then
+ # avoid finding of this function, to avoid having to patch either
+ # configure or the source, which would be much more hackish.
+ # after all vim does it right, only interix is badly broken (again)
+ export ac_cv_func_sigaction=no
+ fi
+ fi
+
myconf="${myconf} --with-modified-by=Gentoo-${PVR}"
econf ${myconf} || die "vim configure failed"
}