ports/devel/gecode/files/patch-configure

21 lines
700 B
Text

Description: Let the configure script succeed on FreeBSD.
Fix a bashism (test = instead of ==).
Forwarded: yes
Author: Peter Pentchev <roam@FreeBSD.org>
Last-Update: 2011-02-10
--- a/configure
+++ b/configure
@@ -10531,9 +10531,9 @@
ac_gecode_library_architecture=-${VERSION_DASHES}${ac_gecode_library_architecture}
-if test "$ac_gecode_compiler_vendor" == "microsoft" \
- -o \( "$ac_gecode_compiler_vendor" == "intel" \
- -a "$host_os" == "windows" \) ; then
+if test "$ac_gecode_compiler_vendor" = "microsoft" \
+ -o \( "$ac_gecode_compiler_vendor" = "intel" \
+ -a "$host_os" = "windows" \) ; then
DLL_ARCH=${ac_gecode_library_architecture}
else