summaryrefslogtreecommitdiff
path: root/shells/mksh
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2020-08-03 15:16:04 +0000
committertnn <tnn@pkgsrc.org>2020-08-03 15:16:04 +0000
commit89fade5f2305f87205bf93bc8fc60b52da6ba711 (patch)
tree89d70430e2c108674909727961fefd68050df45c /shells/mksh
parent8f2784eff5325bcab988130c9e97a5b5afad756f (diff)
downloadpkgsrc-89fade5f2305f87205bf93bc8fc60b52da6ba711.tar.gz
undo previous. Apparently one doesn't patch this in the normal way.
Diffstat (limited to 'shells/mksh')
-rw-r--r--shells/mksh/patches/patch-Build.sh42
1 files changed, 0 insertions, 42 deletions
diff --git a/shells/mksh/patches/patch-Build.sh b/shells/mksh/patches/patch-Build.sh
deleted file mode 100644
index b8962870d91..00000000000
--- a/shells/mksh/patches/patch-Build.sh
+++ /dev/null
@@ -1,42 +0,0 @@
-$NetBSD: patch-Build.sh,v 1.1 2020/08/03 15:13:55 tnn Exp $
-
-remove double brackets
-
---- Build.sh.orig 2020-08-03 15:12:31.960450602 +0000
-+++ Build.sh
-@@ -2520,7 +2520,7 @@ cat >test.sh <<-EOF
- for y in "\${check_categories[@]}"; do
- x=\$x,\$y
- done
-- if [[ -n \$x ]]; then
-+ if [ -n \$x ]; then
- args[\${#args[*]}]=-C
- args[\${#args[*]}]=\${x#,}
- fi
-@@ -2539,7 +2539,7 @@ cat >test.sh <<-EOF
- fi
- (( vflag )) && args[\${#args[*]}]=-v
- (( xflag )) && args[\${#args[*]}]=-x # force usage by synerr
-- if [[ -n \$TMPDIR && -d \$TMPDIR/. ]]; then
-+ if [ -n \$TMPDIR && -d \$TMPDIR/. ]; then
- args[\${#args[*]}]=-T
- args[\${#args[*]}]=\$TMPDIR
- fi
-@@ -2550,7 +2550,7 @@ cat >test.sh <<-EOF
- cstr='\$os = defined \$^O ? \$^O : "unknown";'
- cstr="\$cstr"'print \$os . ", Perl version " . \$];'
- for perli in \$PERL perl5 perl no; do
-- if [[ \$perli = no ]]; then
-+ if [ \$perli = no ]; then
- print Cannot find a working Perl interpreter, aborting.
- exit 1
- fi
-@@ -2562,7 +2562,7 @@ cat >test.sh <<-EOF
- print "=> not using"
- continue
- fi
-- if [[ -n \$perlos ]]; then
-+ if [ -n \$perlos ]; then
- print "=> using it"
- break
- fi