development/portaudio: Fix builds with jack/jack2.

Signed-off-by: B. Watson <yalhcru@gmail.com>
This commit is contained in:
B. Watson 2020-01-17 19:14:11 -05:00 committed by Willy Sudiarto Raharjo
parent 8cdc953600
commit 410e271147
No known key found for this signature in database
GPG Key ID: 887B8374D7333381
1 changed files with 6 additions and 1 deletions

View File

@ -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 \