portaudio: fix build with libtool>=2.4.6
The file depcomp, which is required when building bindings/cpp, is removed by libtool. Preserve it by temporarily renaming it.
This commit is contained in:
parent
f80e598fe7
commit
73786642e6
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'portaudio'
|
||||
pkgname=portaudio
|
||||
version=19.20140130
|
||||
revision=9
|
||||
revision=10
|
||||
wrksrc=portaudio
|
||||
build_style=gnu-configure
|
||||
configure_args="--enable-cxx --with-jack"
|
||||
|
@ -17,7 +17,15 @@ checksum=8fe024a5f0681e112c6979808f684c3516061cc51d3acc0b726af98fc96c8d57
|
|||
disable_parallel_build=yes
|
||||
|
||||
pre_configure() {
|
||||
# depcomp is required when building the bindings/cpp extension
|
||||
# but will be removed by autoreconf + libtool >= 2.4.6
|
||||
# Protect it from removal
|
||||
mv depcomp{,~}
|
||||
|
||||
autoreconf -fi
|
||||
|
||||
# Restore depcomp
|
||||
mv depcomp{~,}
|
||||
}
|
||||
|
||||
portaudio-devel_package() {
|
||||
|
|
Loading…
Reference in New Issue