aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Woodfall <dave@dawoodfall.net>2011-06-11 11:52:52 +0200
committerRobby Workman <rworkman@slackbuilds.org>2011-06-13 01:34:12 -0400
commit2c1a5d30b4449a5953afb57b3ebe99dee43839c7 (patch)
treecf090a8733ea6f8b962ecd3431bfdaee46ad9a42
parent07be6f24086d317225ba7c8954c2a61f8d28929b (diff)
audio/portmidi: Added symlink for compatibility with older software.
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
-rw-r--r--audio/portmidi/portmidi.SlackBuild7
-rw-r--r--audio/portmidi/portmidi.info2
2 files changed, 6 insertions, 3 deletions
diff --git a/audio/portmidi/portmidi.SlackBuild b/audio/portmidi/portmidi.SlackBuild
index 93d39e602707e..f88f9f8123b94 100644
--- a/audio/portmidi/portmidi.SlackBuild
+++ b/audio/portmidi/portmidi.SlackBuild
@@ -26,7 +26,7 @@
PRGNAM=portmidi
VERSION=${VERSION:-217}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -92,7 +92,10 @@ make all \
PMFLAGS="-DNEWBUFFER"
make install DESTDIR=$PKG
-rm -f $PKG/usr/lib$LIBDIRSUFFIX/libportmidi_s.a
+cd $PKG/usr/lib$LIBDIRSUFFIX
+ rm -f libportmidi_s.a
+ ln -s libportmidi.so libporttime.so
+cd -
# I think this may cause problems unless it's renamed
mv $PKG/usr/bin/test $PKG/usr/bin/portmiditest
diff --git a/audio/portmidi/portmidi.info b/audio/portmidi/portmidi.info
index 6461b7affb57a..5ff84b2b94ac6 100644
--- a/audio/portmidi/portmidi.info
+++ b/audio/portmidi/portmidi.info
@@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="David Woodfall"
EMAIL="dave@dawoodfall.net"
-APPROVED="rworkman"
+APPROVED="pprkut"