diff options
author | rillig <rillig@pkgsrc.org> | 2006-10-02 23:52:51 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2006-10-02 23:52:51 +0000 |
commit | 4e71ec98b96e8e340fea97901e5109081c04320d (patch) | |
tree | b48bcb74267b1abeeb2a41a0fbb40bd444c23cb1 | |
parent | 00d7e8cb4442b85fe2088c8fcf02deefcf02336d (diff) | |
download | pkgsrc-4e71ec98b96e8e340fea97901e5109081c04320d.tar.gz |
Fixed the usage of test(1) together with "==".
-rw-r--r-- | wm/afterstep/distinfo | 3 | ||||
-rw-r--r-- | wm/afterstep/patches/patch-ab | 24 |
2 files changed, 26 insertions, 1 deletions
diff --git a/wm/afterstep/distinfo b/wm/afterstep/distinfo index f81001949a8..2e3dcc395fd 100644 --- a/wm/afterstep/distinfo +++ b/wm/afterstep/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.10 2005/12/06 13:14:06 joerg Exp $ +$NetBSD: distinfo,v 1.11 2006/10/02 23:52:51 rillig Exp $ SHA1 (AfterStep-2.1.2.tar.bz2) = c367e7c73561ddf03b3725f80d2f39f50d2b45bd RMD160 (AfterStep-2.1.2.tar.bz2) = f891ded642b9190bd261f3e3f92cb595da2d785b Size (AfterStep-2.1.2.tar.bz2) = 5079333 bytes SHA1 (patch-aa) = c903ca64b609e4270ead1f1e03cb6ea962b294f8 +SHA1 (patch-ab) = b513b41f5be32170c3e7027d53e44625cbb4958a diff --git a/wm/afterstep/patches/patch-ab b/wm/afterstep/patches/patch-ab new file mode 100644 index 00000000000..ee9a0169ea1 --- /dev/null +++ b/wm/afterstep/patches/patch-ab @@ -0,0 +1,24 @@ +$NetBSD: patch-ab,v 1.3 2006/10/02 23:52:51 rillig Exp $ + +POSIX test(1) does not have a "==" operator. + +--- configure.orig 2006-10-03 01:46:57.000000000 +0200 ++++ configure 2006-10-03 01:47:58.000000000 +0200 +@@ -1802,7 +1802,7 @@ fi; + # Check whether --enable-reuse-font or --disable-reuse-font was given. + if test "${enable_reuse_font+set}" = set; then + enableval="$enable_reuse_font" +- if test x$enableval == "xyes"; then ++ if test x$enableval = "xyes"; then + cat >>confdefs.h <<\_ACEOF + #define MODULE_REUSE_LOADED_FONT 1 + _ACEOF +@@ -5844,7 +5844,7 @@ fi + + have_shmimage=no + +-if test "x$CYGWIN" == "xyes"; then ++if test "x$CYGWIN" = "xyes"; then + enable_shmimage=no + fi + |