summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakov Smolic <jakov.smolic@sartura.hr>2020-11-16 00:23:10 +0100
committerDavid Seifert <soap@gentoo.org>2020-11-16 00:23:10 +0100
commitfb3a0f436d5bab74be4abda64c6d023b39117ed1 (patch)
tree7076e077557383a412b13218d94f7a3637ec9a99 /media-libs/libbs2b
parentmail-filter/libsieve: disable static libs (diff)
downloadgentoo-fb3a0f436d5bab74be4abda64c6d023b39117ed1.tar.gz
gentoo-fb3a0f436d5bab74be4abda64c6d023b39117ed1.tar.bz2
gentoo-fb3a0f436d5bab74be4abda64c6d023b39117ed1.zip
media-libs/libbs2b: disable static libs
Closes: https://bugs.gentoo.org/724592 Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr> Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'media-libs/libbs2b')
-rw-r--r--media-libs/libbs2b/libbs2b-3.1.0-r2.ebuild14
1 files changed, 10 insertions, 4 deletions
diff --git a/media-libs/libbs2b/libbs2b-3.1.0-r2.ebuild b/media-libs/libbs2b/libbs2b-3.1.0-r2.ebuild
index dc43dddf45c0..cb640251cfb5 100644
--- a/media-libs/libbs2b/libbs2b-3.1.0-r2.ebuild
+++ b/media-libs/libbs2b/libbs2b-3.1.0-r2.ebuild
@@ -12,13 +12,19 @@ SRC_URI="mirror://sourceforge/bs2b/${P}.tar.bz2"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha amd64 arm ~arm64 hppa ~mips ppc ppc64 sparc x86"
-IUSE=""
RDEPEND=">=media-libs/libsndfile-1.0.25-r1[${MULTILIB_USEDEP}]"
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"
-# for default_src_configure to work
-ECONF_SOURCE="${S}"
+PATCHES=( "${FILESDIR}"/${PV}-format-security.patch )
-PATCHES=( "${FILESDIR}/${PV}-format-security.patch" )
+multilib_src_configure() {
+ ECONF_SOURCE="${S}" \
+ econf --disable-static
+}
+
+multilib_src_install_all() {
+ einstalldocs
+ find "${ED}" -name '*.la' -delete || die
+}