aboutsummaryrefslogtreecommitdiff
path: root/audio/xmcd/files
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2014-05-31 15:23:44 +0000
committerJohn Marino <marino@FreeBSD.org>2014-05-31 15:23:44 +0000
commitc46f0e966ea9c5e6787eb803f4cf56752b1555b2 (patch)
treec9a426051b39f219d0208655304009f7af6af744 /audio/xmcd/files
parentbbde51b6ec2ebb680b893a8045803b9ccf9aa567 (diff)
Notes
Diffstat (limited to 'audio/xmcd/files')
-rw-r--r--audio/xmcd/files/patch-ag11
-rw-r--r--audio/xmcd/files/patch-install.sh20
2 files changed, 20 insertions, 11 deletions
diff --git a/audio/xmcd/files/patch-ag b/audio/xmcd/files/patch-ag
deleted file mode 100644
index 4e2cfdcc93e1..000000000000
--- a/audio/xmcd/files/patch-ag
+++ /dev/null
@@ -1,11 +0,0 @@
---- install.sh.orig Mon Nov 4 05:17:09 2002
-+++ install.sh Mon Nov 4 05:16:44 2002
-@@ -1120,7 +1120,7 @@
- make_dir $ARCHLIB $DIRPERM $OWNER $GROUP
- make_dir $DISCOGDIR $GDIRPERM $OWNER $GROUP
-
--if [ -n "$MANDIR" ]
-+if [ -n "$MANDIR" -a ! -d "$MANDIR" ]
- then
- make_dir $MANDIR $DIRPERM $OWNER $GROUP
- fi
diff --git a/audio/xmcd/files/patch-install.sh b/audio/xmcd/files/patch-install.sh
new file mode 100644
index 000000000000..14a554f47255
--- /dev/null
+++ b/audio/xmcd/files/patch-install.sh
@@ -0,0 +1,20 @@
+--- install.sh.orig 2004-04-21 19:27:01.000000000 +0000
++++ install.sh
+@@ -625,7 +625,7 @@ if [ "$OS_SYS" = A/UX ]
+ then
+ # Apple A/UX
+ SHELL=/bin/ksh
+-elif [ "$OS_SYS" = FreeBSD ]
++elif [ "$OS_SYS" = FreeBSD -o "$OS_SYS" = DragonFly ]
+ then
+ # FreeBSD
+ OS_REL_T=`echo "$OS_REL_T" | sed 's/\..*$//'`
+@@ -1170,7 +1170,7 @@ make_dir $ARCHBIN $DIRPERM $OWNER $GROUP
+ make_dir $ARCHLIB $DIRPERM $OWNER $GROUP
+ make_dir $DISCOGDIR $GDIRPERM $OWNER $GROUP
+
+-if [ -n "$MANDIR" ]
++if [ -n "$MANDIR" -a ! -d "$MANDIR" ]
+ then
+ make_dir $MANDIR $DIRPERM $OWNER $GROUP
+ fi