From 5b980e849e270d04f8e05d6de3ab3c050edf0280 Mon Sep 17 00:00:00 2001 From: rillig Date: Mon, 2 Oct 2006 23:52:51 +0000 Subject: Fixed the usage of test(1) together with "==". --- wm/afterstep/distinfo | 3 ++- wm/afterstep/patches/patch-ab | 24 ++++++++++++++++++++++++ 2 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 wm/afterstep/patches/patch-ab 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 + -- cgit v1.2.3