summaryrefslogtreecommitdiff
path: root/audio/xmcd/patches/patch-ae
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2000-09-09 17:33:13 +0000
committerwiz <wiz@pkgsrc.org>2000-09-09 17:33:13 +0000
commit0ddaa0acb68b6d69a12976c757df76da6505417f (patch)
treedb402362d5c521577dbd75800f0d5b18353027cc /audio/xmcd/patches/patch-ae
parentc2863b1d4e9842f6de2d4101810cbeceb24fa7b8 (diff)
downloadpkgsrc-0ddaa0acb68b6d69a12976c757df76da6505417f.tar.gz
Also patch the start and config skripts to use ${MACHINE_ARCH} instead
of uname -m (instead of only install skript only). Addresses pkg/10017.
Diffstat (limited to 'audio/xmcd/patches/patch-ae')
-rw-r--r--audio/xmcd/patches/patch-ae13
1 files changed, 13 insertions, 0 deletions
diff --git a/audio/xmcd/patches/patch-ae b/audio/xmcd/patches/patch-ae
new file mode 100644
index 00000000000..584f47d2d4e
--- /dev/null
+++ b/audio/xmcd/patches/patch-ae
@@ -0,0 +1,13 @@
+$NetBSD: patch-ae,v 1.1 2000/09/09 17:33:13 wiz Exp $
+
+--- misc_d/start.sh.orig Sat Feb 5 08:26:39 2000
++++ misc_d/start.sh
+@@ -42,7 +42,7 @@
+ PROG=`(basename $0) 2>/dev/null`
+
+ SYS=`(uname -s) 2>/dev/null | sed -e 's/\//_/g' -e 's/-/_/g' -e 's/[ ]/_/g'`
+-MACH=`(uname -m) 2>/dev/null | sed -e 's/\//_/g' -e 's/-/_/g' -e 's/[ ]/_/g'`
++MACH=`echo @MACHINE_ARCH@ | sed -e 's/\//_/g' -e 's/-/_/g' -e 's/[ ]/_/g'`
+ REL=`(uname -r) 2>/dev/null | sed -e 's/\//_/g' -e 's/-/_/g' -e 's/[ ]/_/g'`
+
+ # Platform-specific handling