# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/vim.eclass,v 1.198 2011/07/13 04:22:33 lack Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/vim.eclass,v 1.199 2011/08/18 02:48:43 lack Exp $
# Authors:
# Jim Ramsay <lack@gentoo.org>
if version_is_at_least 7.3.122; then
cp "${S}"/src/config.mk.dist "${S}"/src/auto/config.mk
fi
+
+ # Bug #378107 - Build properly with >=perl-core/ExtUtils-ParseXS-3.20.0
+ if version_is_at_least 7.3; then
+ sed -i 's:\$(PERLLIB)/ExtUtils/xsubpp:/usr/bin/xsubpp:' \
+ "${S}"/src/Makefile || die 'sed for ExtUtils-ParseXS failed'
+ fi
}
vim_src_unpack() {