Files
pkgsrc-ng/math/R-nloptr/patches/patch-configure
2016-11-18 22:39:22 +01:00

16 lines
544 B
Plaintext

$NetBSD: patch-configure,v 1.1 2016/04/17 04:09:44 wen Exp $
Fix usage of conditionals in configure
--- configure.orig 2015-11-28 07:01:04.000000000 +0000
+++ configure
@@ -2953,8 +2953,8 @@ fi
## also use pkg-config to check for NLopt
##
-if test x"${nlopt_libs}" == x""; then
- if test x"${PKGCONFIG}" == x"yes"; then
+if test x"${nlopt_libs}" = x""; then
+ if test x"${PKGCONFIG}" = x"yes"; then
## check via pkg-config for hiredis
if pkg-config --exists nlopt; then
## obtain cflags and obtain libs