commit:     22361e13de69f242e722485efab29b16d6b983d4
Author:     Ben Kohler <bkohler <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 30 13:25:45 2021 +0000
Commit:     Ben Kohler <bkohler <AT> gentoo <DOT> org>
CommitDate: Tue Mar 30 13:26:00 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22361e13

x11-wm/blackbox: add static-libs flag

Closes: https://bugs.gentoo.org/779367
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org>

 x11-wm/blackbox/blackbox-0.76-r1.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/x11-wm/blackbox/blackbox-0.76-r1.ebuild 
b/x11-wm/blackbox/blackbox-0.76-r1.ebuild
index 81e924b915b..50375072373 100644
--- a/x11-wm/blackbox/blackbox-0.76-r1.ebuild
+++ b/x11-wm/blackbox/blackbox-0.76-r1.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/bbidulock/blackboxwm/archive/${PV}.tar.gz -> ${P}.ta
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
-IUSE="nls truetype debug"
+IUSE="debug nls static-libs truetype"
 
 RDEPEND="x11-libs/libXft
        x11-libs/libXt
@@ -51,4 +51,5 @@ src_install() {
        dodoc AUTHORS ChangeLog* COMPLIANCE README* TODO
 
        find "${D}" -name '*.la' -delete || die
+       use static-libs || rm /usr/$(get_libdir)/libbt.a || die
 }

Reply via email to