commit: 5c8762365232d30709fda8bb33ea08b731cfddad Author: Mike Frysinger <vapier <AT> chromium <DOT> org> AuthorDate: Wed Jun 9 18:13:02 2021 +0000 Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org> CommitDate: Wed Jun 9 18:14:53 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c876236
app-arch/lbzip2: add USE=static support Signed-off-by: Mike Frysinger <vapier <AT> gentoo.org> app-arch/lbzip2/lbzip2-2.5_p20181227-r1.ebuild | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app-arch/lbzip2/lbzip2-2.5_p20181227-r1.ebuild b/app-arch/lbzip2/lbzip2-2.5_p20181227-r1.ebuild index ab756306f95..e8d3af562b3 100644 --- a/app-arch/lbzip2/lbzip2-2.5_p20181227-r1.ebuild +++ b/app-arch/lbzip2/lbzip2-2.5_p20181227-r1.ebuild @@ -3,7 +3,7 @@ EAPI="7" -inherit autotools +inherit autotools flag-o-matic DESCRIPTION="Parallel bzip2 utility" HOMEPAGE="https://github.com/kjn/lbzip2/" @@ -12,7 +12,7 @@ SRC_URI="https://dev.gentoo.org/~whissi/dist/${PN}/${P}.tar.gz" LICENSE="GPL-3" SLOT="0" KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" -IUSE="debug symlink" +IUSE="debug static symlink" RDEPEND="symlink? ( !app-arch/pbzip2[symlink] )" DEPEND="" @@ -28,6 +28,8 @@ src_prepare() { } src_configure() { + use static && append-ldflags -static + local myeconfargs=( $(use_enable debug tracing) )
