pkgsrc/textproc/source-highlight/patches/patch-aa
joerg bdb47b8960 Fix booost::regex test. This feels like a deja-vu, not sure where I hit
this before. Most likly a broken upstream macro.
2007-03-07 18:52:18 +00:00

23 lines
647 B
Text

$NetBSD: patch-aa,v 1.4 2007/03/07 18:52:18 joerg Exp $
--- configure.orig 2006-10-05 16:57:31.000000000 +0000
+++ configure
@@ -3437,7 +3437,7 @@ cat <<EOF >conftest.c
int conftest(void){return 0;}
EOF
${CXX} -xar -o conftest.a conftest.c >/dev/null 2>&1
-if test $? == 0; then
+if test $? = 0; then
ar_to_use="\$(CXX) -xar -o"
else
ar_to_use="\$(AR) cru"
@@ -6216,7 +6216,8 @@ ac_res=`eval echo '${'$as_ac_Lib'}'`
{ echo "$as_me:$LINENO: result: $ac_res" >&5
echo "${ECHO_T}$ac_res" >&6; }
if test `eval echo '${'$as_ac_Lib'}'` = yes; then
- BOOST_REGEX_LIB=$ax_lib break
+ BOOST_REGEX_LIB=$ax_lib
+ break
fi
done