1 |
commit: 3e9d0916afc604cd06a2201650d0b7b29b7ae753 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu May 27 07:13:17 2021 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu May 27 07:13:17 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e9d0916 |
7 |
|
8 |
dev-util/patchutils: Added "pcre" USE flag |
9 |
|
10 |
Closes: https://bugs.gentoo.org/792366 |
11 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
12 |
|
13 |
dev-util/patchutils/patchutils-0.4.2.ebuild | 9 ++++++++- |
14 |
1 file changed, 8 insertions(+), 1 deletion(-) |
15 |
|
16 |
diff --git a/dev-util/patchutils/patchutils-0.4.2.ebuild b/dev-util/patchutils/patchutils-0.4.2.ebuild |
17 |
index c1491c87fe5..95086f63a11 100644 |
18 |
--- a/dev-util/patchutils/patchutils-0.4.2.ebuild |
19 |
+++ b/dev-util/patchutils/patchutils-0.4.2.ebuild |
20 |
@@ -10,4 +10,11 @@ SRC_URI="http://cyberelk.net/tim/data/patchutils/stable/${P}.tar.xz" |
21 |
LICENSE="GPL-2" |
22 |
SLOT="0" |
23 |
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris" |
24 |
-IUSE="" |
25 |
+IUSE="pcre" |
26 |
+ |
27 |
+RDEPEND="pcre? ( dev-libs/libpcre2:= )" |
28 |
+DEPEND="${RDEPEND}" |
29 |
+ |
30 |
+src_configure() { |
31 |
+ econf $(use_with pcre pcre2) |
32 |
+} |