From 73786642e6f2609976917c8b553761f599289b7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Wed, 28 Oct 2015 15:57:02 +0100 Subject: [PATCH] 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. --- srcpkgs/portaudio/template | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/srcpkgs/portaudio/template b/srcpkgs/portaudio/template index c48780642dc..ed0a422ec9d 100644 --- a/srcpkgs/portaudio/template +++ b/srcpkgs/portaudio/template @@ -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() {