summaryrefslogtreecommitdiff
path: root/graphics/netpbm/patches/patch-buildtools_installosf
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/netpbm/patches/patch-buildtools_installosf')
-rw-r--r--graphics/netpbm/patches/patch-buildtools_installosf15
1 files changed, 15 insertions, 0 deletions
diff --git a/graphics/netpbm/patches/patch-buildtools_installosf b/graphics/netpbm/patches/patch-buildtools_installosf
new file mode 100644
index 00000000000..024a895593d
--- /dev/null
+++ b/graphics/netpbm/patches/patch-buildtools_installosf
@@ -0,0 +1,15 @@
+$NetBSD: patch-buildtools_installosf,v 1.1 2014/09/08 21:22:29 wiz Exp $
+
+Fix unportable test(1) operator.
+
+--- buildtools/installosf.orig 2014-09-01 21:22:24.000000000 +0000
++++ buildtools/installosf
+@@ -17,7 +17,7 @@ while [ $# -gt 0 ]; do
+ elif [ "$1" = "-m" ]; then
+ shift
+ PERMISSIONS=$1
+- elif [ ${SOURCE_FILE}x == x ]; then
++ elif [ ${SOURCE_FILE}x = x ]; then
+ SOURCE_FILE=$1
+ else
+ TARGET_DIR=$1