From 410e271147da7273accf46f16de8eab51bc9324e Mon Sep 17 00:00:00 2001 From: B. Watson Date: Fri, 17 Jan 2020 19:14:11 -0500 Subject: development/portaudio: Fix builds with jack/jack2. Signed-off-by: B. Watson --- development/portaudio/portaudio.SlackBuild | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/development/portaudio/portaudio.SlackBuild b/development/portaudio/portaudio.SlackBuild index 3800cb46da..14345e8b9e 100644 --- a/development/portaudio/portaudio.SlackBuild +++ b/development/portaudio/portaudio.SlackBuild @@ -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 \ @@ -84,7 +89,7 @@ CXXFLAGS="$SLKCFLAGS" \ --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 \ -- cgit v1.2.3