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