diff options
Diffstat (limited to 'development/portaudio/portaudio.SlackBuild')
-rw-r--r-- | development/portaudio/portaudio.SlackBuild | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/development/portaudio/portaudio.SlackBuild b/development/portaudio/portaudio.SlackBuild index b6091dcb64..14345e8b9e 100644 --- a/development/portaudio/portaudio.SlackBuild +++ b/development/portaudio/portaudio.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for "PortAudio". # # Copyright 2009-2015 Marco Bonetti <sid77@slackware.it> -# Copyright 2015 Marco Bonetti <marc@mos6581.de> +# Copyright 2015 Marcel Saegebarth <marc@mos6581.de> # All rights reserved. # # Redistribution and use in source and binary forms, with or without @@ -27,7 +27,7 @@ PRGNAM=portaudio SRCNAM=pa -VERSION=${VERSION:-v19_20140130} +VERSION=${VERSION:-v190600_20161030} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -73,6 +73,11 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +# 20200117 bkw: If jack (either v1 or v2) is installed, parallel builds +# of portaudio fail. Could just hardcode -j1 in make command, but let's not +# penalize those who aren't affected by it. +pkg-config --exists jack && JFLAG=-j1 + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ @@ -81,9 +86,10 @@ CXXFLAGS="$SLKCFLAGS" \ --mandir=/usr/man \ --sysconfdir=/etc \ --localstatedir=/var \ + --enable-cxx \ --build=$ARCH-slackware-linux -make +make $JFLAG make install DESTDIR=$PKG find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ |