summaryrefslogtreecommitdiff
path: root/audio/xmcd/patches
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
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')
-rw-r--r--audio/xmcd/patches/patch-ad4
-rw-r--r--audio/xmcd/patches/patch-ae13
-rw-r--r--audio/xmcd/patches/patch-af13
3 files changed, 28 insertions, 2 deletions
diff --git a/audio/xmcd/patches/patch-ad b/audio/xmcd/patches/patch-ad
index 1531d213657..23fbc8913e9 100644
--- a/audio/xmcd/patches/patch-ad
+++ b/audio/xmcd/patches/patch-ad
@@ -1,4 +1,4 @@
-$NetBSD: patch-ad,v 1.5 2000/02/13 19:17:24 fredb Exp $
+$NetBSD: patch-ad,v 1.6 2000/09/09 17:33:13 wiz Exp $
--- install.sh.orig Sat Feb 5 01:26:20 2000
+++ install.sh Sun Feb 13 08:29:05 2000
@@ -16,7 +16,7 @@ $NetBSD: patch-ad,v 1.5 2000/02/13 19:17:24 fredb Exp $
OS_SYS=`(uname -s) 2>/dev/null`
OS_REL=`(uname -r) 2>/dev/null`
-OS_MACH=`(uname -m) 2>/dev/null`
-+OS_MACH=$MACHINE_ARCH
++OS_MACH=@MACHINE_ARCH@
if [ -z "$OS_SYS" ]
then
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
diff --git a/audio/xmcd/patches/patch-af b/audio/xmcd/patches/patch-af
new file mode 100644
index 00000000000..3fec7116829
--- /dev/null
+++ b/audio/xmcd/patches/patch-af
@@ -0,0 +1,13 @@
+$NetBSD: patch-af,v 1.1 2000/09/09 17:33:13 wiz Exp $
+
+--- libdi_d/config.sh.orig Sat Feb 5 08:26:23 2000
++++ libdi_d/config.sh
+@@ -1770,7 +1770,7 @@
+ # Get platform information
+ OS_SYS=`(uname -s) 2>/dev/null`
+ OS_REL=`(uname -r) 2>/dev/null`
+-OS_MACH=`(uname -m) 2>/dev/null`
++OS_MACH=@MACHINE_ARCH@
+ OS_NODE=`(uname -n) 2>/dev/null`
+
+ if [ -z "$OS_SYS" ]