summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenda Xu <heroxbd@gentoo.org>2017-01-15 11:40:33 +0900
committerBenda Xu <heroxbd@gentoo.org>2017-01-15 11:40:51 +0900
commit4d872480ca285ce258f3f6953da46ccc79f42bc9 (patch)
treef7b8599536ff63cdbc7ed13f28d1fc13b88318e1 /dev-python/python-lzo
parentnet-voip/homer: remove unused patch (diff)
downloadgentoo-4d872480ca285ce258f3f6953da46ccc79f42bc9.tar.gz
gentoo-4d872480ca285ce258f3f6953da46ccc79f42bc9.tar.bz2
gentoo-4d872480ca285ce258f3f6953da46ccc79f42bc9.zip
dev-python/python-lzo: revise prefix support.
The original part of the patch should not be prefixified. Package-Manager: portage-2.3.3
Diffstat (limited to 'dev-python/python-lzo')
-rw-r--r--dev-python/python-lzo/python-lzo-1.08-r1.ebuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/dev-python/python-lzo/python-lzo-1.08-r1.ebuild b/dev-python/python-lzo/python-lzo-1.08-r1.ebuild
index ddfebfd56f02..9aa56da4f19c 100644
--- a/dev-python/python-lzo/python-lzo-1.08-r1.ebuild
+++ b/dev-python/python-lzo/python-lzo-1.08-r1.ebuild
@@ -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)"
}