diff --git a/audio/portmidi/portmidi.SlackBuild b/audio/portmidi/portmidi.SlackBuild index fb64a9ce37..b499c98c8e 100644 --- a/audio/portmidi/portmidi.SlackBuild +++ b/audio/portmidi/portmidi.SlackBuild @@ -28,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=portmidi VERSION=${VERSION:-2.0.2} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -106,6 +106,14 @@ cd .. install -m 0644 -D pm_common/pmutil.h $PKG/usr/include +( + # allow things which still look for libporttime to find it. + # for example multimedia/xjadeo + # thanks void maintainers + cd $PKG/usr/lib$LIBDIRSUFFIX + ln -s libportmidi.so libporttime.so +) + find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true