summaryrefslogtreecommitdiff
path: root/audio/portmidi/portmidi.SlackBuild
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 /audio/portmidi/portmidi.SlackBuild
parent07be6f24086d317225ba7c8954c2a61f8d28929b (diff)
downloadslackbuilds-2c1a5d30b4449a5953afb57b3ebe99dee43839c7.tar.gz
audio/portmidi: Added symlink for compatibility with older software.
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
Diffstat (limited to 'audio/portmidi/portmidi.SlackBuild')
-rw-r--r--audio/portmidi/portmidi.SlackBuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/audio/portmidi/portmidi.SlackBuild b/audio/portmidi/portmidi.SlackBuild
index 93d39e6027..f88f9f8123 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