Followup to bug #378107: fix for EPREFIX.
authorJim Ramsay <lack@gentoo.org>
Sat, 20 Aug 2011 15:46:21 +0000 (15:46 +0000)
committerJim Ramsay <lack@gentoo.org>
Sat, 20 Aug 2011 15:46:21 +0000 (15:46 +0000)
eclass/vim.eclass

index 4e8df6e6f814e9051fc756b9d9268ff6c6bc26cc..f4256a2f86f0fc1f36d8f59b98582da8cf69064a 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.199 2011/08/18 02:48:43 lack Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/vim.eclass,v 1.200 2011/08/20 15:46:21 lack Exp $
 
 # Authors:
 #      Jim Ramsay <lack@gentoo.org>
@@ -359,7 +359,7 @@ END
 
        # 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:' \
+               sed -i "s:\\\$(PERLLIB)/ExtUtils/xsubpp:${EPREFIX}/usr/bin/xsubpp:"     \
                        "${S}"/src/Makefile || die 'sed for ExtUtils-ParseXS failed'
        fi
 }