mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
libgcrypt: remove fgrep usage in config script
fix build for grive2
This commit is contained in:
parent
9128d900ff
commit
c8f0c3698a
2 changed files with 23 additions and 1 deletions
22
srcpkgs/libgcrypt/patches/fgrep-breakage.patch
Normal file
22
srcpkgs/libgcrypt/patches/fgrep-breakage.patch
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
Index: libgcrypt-1.10.1/src/libgcrypt-config.in
|
||||||
|
===================================================================
|
||||||
|
--- libgcrypt-1.10.1.orig/src/libgcrypt-config.in
|
||||||
|
+++ libgcrypt-1.10.1/src/libgcrypt-config.in
|
||||||
|
@@ -154,7 +154,7 @@ if test "$echo_cflags" = "yes"; then
|
||||||
|
|
||||||
|
tmp=""
|
||||||
|
for i in $includes $cflags_final; do
|
||||||
|
- if echo "$tmp" | fgrep -v -- "$i" >/dev/null; then
|
||||||
|
+ if echo "$tmp" | grep -F -v -- "$i" >/dev/null; then
|
||||||
|
tmp="$tmp $i"
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
@@ -175,7 +175,7 @@ if test "$echo_libs" = "yes"; then
|
||||||
|
|
||||||
|
tmp=""
|
||||||
|
for i in $libdirs $libs_final; do
|
||||||
|
- if echo "$tmp" | fgrep -v -- "$i" >/dev/null; then
|
||||||
|
+ if echo "$tmp" | grep -F -v -- "$i" >/dev/null; then
|
||||||
|
tmp="$tmp $i"
|
||||||
|
fi
|
||||||
|
done
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'libgcrypt'
|
# Template file for 'libgcrypt'
|
||||||
pkgname=libgcrypt
|
pkgname=libgcrypt
|
||||||
version=1.10.1
|
version=1.10.1
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--enable-static --without-capabilities"
|
configure_args="--enable-static --without-capabilities"
|
||||||
makedepends="libgpg-error-devel"
|
makedepends="libgpg-error-devel"
|
||||||
|
|
Loading…
Add table
Reference in a new issue