summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-08-01 00:01:04 +0100
committerSam James <sam@gentoo.org>2022-08-01 00:01:16 +0100
commit8239bb4356898f806bea677713f65f1fad9a1af6 (patch)
tree6d135d3d54fdcc3254bf43b5b1f873ab18df864e /mail-filter
parentapp-laptop/tpacpi-bat: sync live ebuild (diff)
downloadgentoo-8239bb4356898f806bea677713f65f1fad9a1af6.tar.gz
gentoo-8239bb4356898f806bea677713f65f1fad9a1af6.tar.bz2
gentoo-8239bb4356898f806bea677713f65f1fad9a1af6.zip
mail-filter/libmilter: avoid grep -P
We didn't need it anyway. Closes: https://bugs.gentoo.org/862537 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'mail-filter')
-rw-r--r--mail-filter/libmilter/libmilter-1.0.2_p3.ebuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail-filter/libmilter/libmilter-1.0.2_p3.ebuild b/mail-filter/libmilter/libmilter-1.0.2_p3.ebuild
index 00ec5af784fc..a05a48af28ef 100644
--- a/mail-filter/libmilter/libmilter-1.0.2_p3.ebuild
+++ b/mail-filter/libmilter/libmilter-1.0.2_p3.ebuild
@@ -50,7 +50,7 @@ src_prepare() {
extract_version_from_source() {
# Extract "# define SMFI_VERSION 0x01000002" from include/libmilter/mfapi.h
- local actual_libmilter_ver=$(grep -o -P -m 1 "0[xX][0-9a-fA-F]+" include/libmilter/mfapi.h)
+ local actual_libmilter_ver=$(grep -o -E -m 1 "0[xX][0-9a-fA-F]+" include/libmilter/mfapi.h)
# SM_LM_VRS_MAJOR(v) (((v) & 0x7f000000) >> 24)
local actual_libmilter_ver_major=$(((actual_libmilter_ver & 0x7f000000) >> 24))