diff options
author | rillig <rillig@pkgsrc.org> | 2006-10-02 23:41:01 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2006-10-02 23:41:01 +0000 |
commit | c443c9e62c75d5830ac378a61f9080b2ef92c608 (patch) | |
tree | fcfc08dde0841789454e525c301df6dcc1f171b6 /textproc/source-highlight/patches/patch-ad | |
parent | 0e420cebdf0d8f4f5dfb10f226d6412e88a535af (diff) | |
download | pkgsrc-c443c9e62c75d5830ac378a61f9080b2ef92c608.tar.gz |
Fixed the "==" operator with test(1).
Diffstat (limited to 'textproc/source-highlight/patches/patch-ad')
-rw-r--r-- | textproc/source-highlight/patches/patch-ad | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/textproc/source-highlight/patches/patch-ad b/textproc/source-highlight/patches/patch-ad index 18d8070e3a3..6c559634d72 100644 --- a/textproc/source-highlight/patches/patch-ad +++ b/textproc/source-highlight/patches/patch-ad @@ -1,7 +1,7 @@ -$NetBSD: patch-ad,v 1.6 2006/02/07 16:30:44 joerg Exp $ +$NetBSD: patch-ad,v 1.7 2006/10/02 23:41:01 rillig Exp $ ---- configure.orig 2005-08-25 14:11:30.000000000 +0000 -+++ configure +--- configure.orig 2005-08-25 16:11:30.000000000 +0200 ++++ configure 2006-10-03 01:34:07.000000000 +0200 @@ -309,7 +309,7 @@ ac_includes_default="\ # include <unistd.h> #endif" @@ -91,6 +91,15 @@ $NetBSD: patch-ad,v 1.6 2006/02/07 16:30:44 joerg Exp $ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? +@@ -2893,7 +2901,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" @@ -2978,7 +2986,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |