diff options
author | rillig <rillig@pkgsrc.org> | 2006-10-19 23:46:01 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2006-10-19 23:46:01 +0000 |
commit | 302367e5f5c97f8e68cb7d3a5359f5fb906659fd (patch) | |
tree | ff06eeec01548deeeddb6ad7606e7ea7c8b1cf16 /graphics | |
parent | b1bac04cd989219474e15aef5eedcd5078ff6313 (diff) | |
download | pkgsrc-302367e5f5c97f8e68cb7d3a5359f5fb906659fd.tar.gz |
Fixed "test ==".
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/povray/distinfo | 5 | ||||
-rw-r--r-- | graphics/povray/patches/patch-ah | 61 | ||||
-rw-r--r-- | graphics/povray/patches/patch-ai | 57 | ||||
-rw-r--r-- | graphics/povray/patches/patch-aj | 34 |
4 files changed, 156 insertions, 1 deletions
diff --git a/graphics/povray/distinfo b/graphics/povray/distinfo index a7d218e93e9..76be0642a24 100644 --- a/graphics/povray/distinfo +++ b/graphics/povray/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.13 2006/09/17 22:33:36 rillig Exp $ +$NetBSD: distinfo,v 1.14 2006/10/19 23:46:01 rillig Exp $ SHA1 (povray-3.6.1.tar.bz2) = 1fab3ccbdedafbf77e3a66087709bbdf60bc643d RMD160 (povray-3.6.1.tar.bz2) = 84ba679da66089f192cc1bfcf8bdd498e736a9a3 @@ -7,3 +7,6 @@ SHA1 (patch-aa) = 351e2eb509cdb3e95c788de5f9ff41c993d4363d SHA1 (patch-ad) = fa4056ca956cb2872960fcb649e259aad1f065e4 SHA1 (patch-af) = b941ffe6f1f54b5bc6139ec2b7fba480f6393bf1 SHA1 (patch-ag) = 67ad332366614e60b0842572d7d07debe8b6e8f2 +SHA1 (patch-ah) = b8184166d1641d5147f2d532a3e5433f2a686ede +SHA1 (patch-ai) = 4d6d1f7fa38f5d2bf5511f54b1743f734753672d +SHA1 (patch-aj) = d826197d0d0deb6bf83c784820ada951418b46ab diff --git a/graphics/povray/patches/patch-ah b/graphics/povray/patches/patch-ah new file mode 100644 index 00000000000..8eacdb10150 --- /dev/null +++ b/graphics/povray/patches/patch-ah @@ -0,0 +1,61 @@ +$NetBSD: patch-ah,v 1.1 2006/10/19 23:46:01 rillig Exp $ + +--- scripts/allanim.sh.orig 2004-08-03 01:16:20.000000000 +0200 ++++ scripts/allanim.sh 2006-10-20 01:22:43.000000000 +0200 +@@ -57,12 +57,12 @@ case "$OPTIONS" in + ;; + esac + +-test "$1" == "-d" && SCENE_DIR="$2" +-test "$2" == "-d" && SCENE_DIR="$3" +-test "$3" == "-d" && SCENE_DIR="$4" +-test "$4" == "-d" && SCENE_DIR="$5" +-test "$5" == "-d" && SCENE_DIR="$6" +-test "$6" == "-d" && SCENE_DIR="$7" ++test "$1" = "-d" && SCENE_DIR="$2" ++test "$2" = "-d" && SCENE_DIR="$3" ++test "$3" = "-d" && SCENE_DIR="$4" ++test "$4" = "-d" && SCENE_DIR="$5" ++test "$5" = "-d" && SCENE_DIR="$6" ++test "$6" = "-d" && SCENE_DIR="$7" + + if [ -z "$SCENE_DIR" ] ; then + INSTALL_DIR="`install_dir`" +@@ -93,12 +93,12 @@ if [ ! -d "$SCENE_DIR" ] ; then + exit + fi + +-test "$1" == "-o" && OUTPUT_DIR="$2" +-test "$2" == "-o" && OUTPUT_DIR="$3" +-test "$3" == "-o" && OUTPUT_DIR="$4" +-test "$4" == "-o" && OUTPUT_DIR="$5" +-test "$5" == "-o" && OUTPUT_DIR="$6" +-test "$6" == "-o" && OUTPUT_DIR="$7" ++test "$1" = "-o" && OUTPUT_DIR="$2" ++test "$2" = "-o" && OUTPUT_DIR="$3" ++test "$3" = "-o" && OUTPUT_DIR="$4" ++test "$4" = "-o" && OUTPUT_DIR="$5" ++test "$5" = "-o" && OUTPUT_DIR="$6" ++test "$6" = "-o" && OUTPUT_DIR="$7" + + if [ -z "$OUTPUT_DIR" ] ; then + if [ ! -w "$SCENE_DIR" ] ; then +@@ -124,12 +124,12 @@ fi + + HTML_FILE= + +-test "$1" == "-h" && HTML_FILE="$2" +-test "$2" == "-h" && HTML_FILE="$3" +-test "$3" == "-h" && HTML_FILE="$4" +-test "$4" == "-h" && HTML_FILE="$5" +-test "$5" == "-h" && HTML_FILE="$6" +-test "$6" == "-h" && HTML_FILE="$7" ++test "$1" = "-h" && HTML_FILE="$2" ++test "$2" = "-h" && HTML_FILE="$3" ++test "$3" = "-h" && HTML_FILE="$4" ++test "$4" = "-h" && HTML_FILE="$5" ++test "$5" = "-h" && HTML_FILE="$6" ++test "$6" = "-h" && HTML_FILE="$7" + + if [ ! -z "$HTML_FILE" ] ; then + diff --git a/graphics/povray/patches/patch-ai b/graphics/povray/patches/patch-ai new file mode 100644 index 00000000000..5e2a2c574c3 --- /dev/null +++ b/graphics/povray/patches/patch-ai @@ -0,0 +1,57 @@ +$NetBSD: patch-ai,v 1.1 2006/10/19 23:46:01 rillig Exp $ + +--- scripts/allscene.sh.orig 2004-08-03 01:16:20.000000000 +0200 ++++ scripts/allscene.sh 2006-10-20 01:23:23.000000000 +0200 +@@ -64,11 +64,11 @@ case "$OPTIONS" in + ;; + esac + +-test "$1" == "-d" && SCENE_DIR="$2" +-test "$2" == "-d" && SCENE_DIR="$3" +-test "$3" == "-d" && SCENE_DIR="$4" +-test "$4" == "-d" && SCENE_DIR="$5" +-test "$5" == "-d" && SCENE_DIR="$6" ++test "$1" = "-d" && SCENE_DIR="$2" ++test "$2" = "-d" && SCENE_DIR="$3" ++test "$3" = "-d" && SCENE_DIR="$4" ++test "$4" = "-d" && SCENE_DIR="$5" ++test "$5" = "-d" && SCENE_DIR="$6" + + if [ -z "$SCENE_DIR" ] ; then + INSTALL_DIR="`install_dir`" +@@ -99,11 +99,11 @@ if [ ! -d "$SCENE_DIR" ] ; then + exit + fi + +-test "$1" == "-o" && OUTPUT_DIR="$2" +-test "$2" == "-o" && OUTPUT_DIR="$3" +-test "$3" == "-o" && OUTPUT_DIR="$4" +-test "$4" == "-o" && OUTPUT_DIR="$5" +-test "$5" == "-o" && OUTPUT_DIR="$6" ++test "$1" = "-o" && OUTPUT_DIR="$2" ++test "$2" = "-o" && OUTPUT_DIR="$3" ++test "$3" = "-o" && OUTPUT_DIR="$4" ++test "$4" = "-o" && OUTPUT_DIR="$5" ++test "$5" = "-o" && OUTPUT_DIR="$6" + + if [ -z "$OUTPUT_DIR" ] ; then + if [ ! -w "$SCENE_DIR" ] ; then +@@ -133,12 +133,12 @@ fi + + HTML_FILE= + +-test "$1" == "-h" && HTML_FILE="$2" +-test "$2" == "-h" && HTML_FILE="$3" +-test "$3" == "-h" && HTML_FILE="$4" +-test "$4" == "-h" && HTML_FILE="$5" +-test "$5" == "-h" && HTML_FILE="$6" +-test "$6" == "-h" && HTML_FILE="$7" ++test "$1" = "-h" && HTML_FILE="$2" ++test "$2" = "-h" && HTML_FILE="$3" ++test "$3" = "-h" && HTML_FILE="$4" ++test "$4" = "-h" && HTML_FILE="$5" ++test "$5" = "-h" && HTML_FILE="$6" ++test "$6" = "-h" && HTML_FILE="$7" + + if [ ! -z "$HTML_FILE" ] ; then + diff --git a/graphics/povray/patches/patch-aj b/graphics/povray/patches/patch-aj new file mode 100644 index 00000000000..a05395fc185 --- /dev/null +++ b/graphics/povray/patches/patch-aj @@ -0,0 +1,34 @@ +$NetBSD: patch-aj,v 1.1 2006/10/19 23:46:01 rillig Exp $ + +--- scripts/portfolio.sh.orig 2004-08-03 01:16:20.000000000 +0200 ++++ scripts/portfolio.sh 2006-10-20 01:23:33.000000000 +0200 +@@ -56,10 +56,10 @@ case "$OPTIONS" in + ;; + esac + +-test "$1" == "-d" && SCENE_DIR="$2" +-test "$2" == "-d" && SCENE_DIR="$3" +-test "$3" == "-d" && SCENE_DIR="$4" +-test "$4" == "-d" && SCENE_DIR="$5" ++test "$1" = "-d" && SCENE_DIR="$2" ++test "$2" = "-d" && SCENE_DIR="$3" ++test "$3" = "-d" && SCENE_DIR="$4" ++test "$4" = "-d" && SCENE_DIR="$5" + + if [ -z "$SCENE_DIR" ] ; then + INSTALL_DIR="`install_dir`" +@@ -94,10 +94,10 @@ if [ -d "$SCENE_DIR/portfolio" ] ; then + SCENE_DIR="$SCENE_DIR/portfolio" + fi + +-test "$1" == "-o" && OUTPUT_DIR="$2" +-test "$2" == "-o" && OUTPUT_DIR="$3" +-test "$3" == "-o" && OUTPUT_DIR="$4" +-test "$4" == "-o" && OUTPUT_DIR="$5" ++test "$1" = "-o" && OUTPUT_DIR="$2" ++test "$2" = "-o" && OUTPUT_DIR="$3" ++test "$3" = "-o" && OUTPUT_DIR="$4" ++test "$4" = "-o" && OUTPUT_DIR="$5" + + if [ -z "$OUTPUT_DIR" ] ; then + if [ -w "$SCENE_DIR" ] ; then |