pkgsrc-wip/barrier/patches/patch-tools_gtest-1.6.0_con...

16 lines
451 B
Plaintext

$NetBSD: patch-tools_gtest-1.6.0_configure,v 1.3 2018/01/25 14:13:22 tnn Exp $
Fix wrong usage of test(1).
--- ext/gtest/configure.orig 2011-05-07 02:25:30.000000000 +0000
+++ ext/gtest/configure
@@ -14861,7 +14861,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
have_pthreads="$acx_pthread_ok"
fi
- if test "x$have_pthreads" == "xyes"; then
+ if test "x$have_pthreads" = "xyes"; then
HAVE_PTHREADS_TRUE=
HAVE_PTHREADS_FALSE='#'
else