Bug #378107: Build with >=perl-core/ExtUtils-ParseXS-3.20.0
authorJim Ramsay <lack@gentoo.org>
Thu, 18 Aug 2011 02:48:43 +0000 (02:48 +0000)
committerJim Ramsay <lack@gentoo.org>
Thu, 18 Aug 2011 02:48:43 +0000 (02:48 +0000)
This just takes the patches from the above build and rolls a single sed line
into the eclass instead.

eclass/vim.eclass

index e33505e533b07d9d8e6660955ce4be2023adc886..4e8df6e6f814e9051fc756b9d9268ff6c6bc26cc 100644 (file)
@@ -1,6 +1,6 @@
 # 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>
@@ -356,6 +356,12 @@ END
        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() {