dev-python/python-lzo: revise prefix support.

The original part of the patch should not be prefixified.

Package-Manager: portage-2.3.3
This commit is contained in:
Benda Xu
2017-01-15 11:40:33 +09:00
parent 2261b06ebd
commit 4d872480ca

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2016 Gentoo Foundation
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -24,5 +24,6 @@ python_test() {
}
src_prepare() {
epatch "$(prefixify_ro "${FILESDIR}"/lzo2compat.patch)"
epatch "$(PREFIX_LINE_MATCH='/##/!' \
prefixify_ro "${FILESDIR}"/lzo2compat.patch)"
}