Allow media-libs/libbs2b to build with non-bash Signed-off-by: Kerin Millar Closes: https://bugs.gentoo.org/526712 diff --git a/media-libs/libbs2b/files/3.1.0-configure-ac-use-dist-xz.patch b/media-libs/libbs2b/files/3.1.0-configure-ac-use-dist-xz.patch new file mode 100644 index 0000000000..a2f26a67e3 --- /dev/null +++ b/media-libs/libbs2b/files/3.1.0-configure-ac-use-dist-xz.patch @@ -0,0 +1,13 @@ +--- a/configure.ac 2009-06-04 18:17:02.000000000 +0000 ++++ b/configure.ac 2021-01-08 00:54:42.622907620 +0000 +@@ -4,8 +4,8 @@ + AC_PREREQ([2.63]) + AC_INIT([libbs2b], [3.1.0], [boris_mikhaylov@users.sourceforge.net]) + AC_CONFIG_AUX_DIR([build-aux]) +-AM_INIT_AUTOMAKE([1.10.1 -Wall foreign subdir-objects +- dist-zip dist-bzip2 dist-lzma]) ++AM_INIT_AUTOMAKE([1.11.2 -Wall foreign subdir-objects ++ dist-zip dist-bzip2 dist-xz]) + AC_CONFIG_SRCDIR([src/bs2b.h]) + + # Checks for programs. diff --git a/media-libs/libbs2b/libbs2b-3.1.0-r2.ebuild b/media-libs/libbs2b/libbs2b-3.1.0-r2.ebuild index ab48410eb3..dbcf1473ae 100644 --- a/media-libs/libbs2b/libbs2b-3.1.0-r2.ebuild +++ b/media-libs/libbs2b/libbs2b-3.1.0-r2.ebuild @@ -3,7 +3,7 @@ EAPI=7 -inherit multilib-minimal +inherit multilib-minimal autotools DESCRIPTION="Bauer stereophonic-to-binaural DSP library" HOMEPAGE="http://bs2b.sourceforge.net/" @@ -17,7 +17,15 @@ RDEPEND=">=media-libs/libsndfile-1.0.25-r1[${MULTILIB_USEDEP}]" DEPEND="${RDEPEND}" BDEPEND="virtual/pkgconfig" -PATCHES=( "${FILESDIR}"/${PV}-format-security.patch ) +PATCHES=( + "${FILESDIR}"/${PV}-format-security.patch + "${FILESDIR}"/${PV}-configure-ac-use-dist-xz.patch +) + +src_prepare() { + default + eautoreconf +} multilib_src_configure() { ECONF_SOURCE="${S}" \