opnsense-ports/security/libssh2/files/patch-configure
Franco Fichtner c4628e9323 */*: sync with upstream
Taken from: FreeBSD
2016-12-15 07:42:33 +01:00

15 lines
536 B
Text

--- configure.orig 2016-11-28 18:30:51 UTC
+++ configure
@@ -14250,9 +14250,9 @@ if test "${with_libgcrypt+set}" = set; t
old_LDFLAGS=$LDFLAGS
old_CFLAGS=$CFLAGS
- if test -n "$use_libgcrypt" && test "$use_libgcrypt" != "no"; then
- LDFLAGS="$LDFLAGS -L$use_libgcrypt/lib"
- CFLAGS="$CFLAGS -I$use_libgcrypt/include"
+ if test -n "$with_libgcrypt_prefix" && test "$with_libgcrypt_prefix" != "no"; then
+ LDFLAGS="$LDFLAGS -L$with_libgcrypt_prefix/lib"
+ CFLAGS="$CFLAGS -I$with_libgcrypt_prefix/include"
fi