summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2021-05-27 09:13:17 +0200
committerLars Wendler <polynomial-c@gentoo.org>2021-05-27 09:13:17 +0200
commit3e9d0916afc604cd06a2201650d0b7b29b7ae753 (patch)
treeabd06c25602a8dfd61ba492718d8d23d87646a63 /dev-util/patchutils
parentdev-libs/libpcre2: Revbump to add sub-slot (diff)
downloadgentoo-3e9d0916afc604cd06a2201650d0b7b29b7ae753.tar.gz
gentoo-3e9d0916afc604cd06a2201650d0b7b29b7ae753.tar.bz2
gentoo-3e9d0916afc604cd06a2201650d0b7b29b7ae753.zip
dev-util/patchutils: Added "pcre" USE flag
Closes: https://bugs.gentoo.org/792366 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'dev-util/patchutils')
-rw-r--r--dev-util/patchutils/patchutils-0.4.2.ebuild9
1 files changed, 8 insertions, 1 deletions
diff --git a/dev-util/patchutils/patchutils-0.4.2.ebuild b/dev-util/patchutils/patchutils-0.4.2.ebuild
index c1491c87fe5c..95086f63a11a 100644
--- a/dev-util/patchutils/patchutils-0.4.2.ebuild
+++ b/dev-util/patchutils/patchutils-0.4.2.ebuild
@@ -10,4 +10,11 @@ SRC_URI="http://cyberelk.net/tim/data/patchutils/stable/${P}.tar.xz"
LICENSE="GPL-2"
SLOT="0"
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"
-IUSE=""
+IUSE="pcre"
+
+RDEPEND="pcre? ( dev-libs/libpcre2:= )"
+DEPEND="${RDEPEND}"
+
+src_configure() {
+ econf $(use_with pcre pcre2)
+}