1 |
commit: 41a1bf2ca3c32fdc4f164b35327ff72aca9992a5 |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jun 3 08:15:01 2020 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jun 3 09:10:28 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41a1bf2c |
7 |
|
8 |
app-text/yodl: DEPEND => BDEPEND |
9 |
|
10 |
- Do not strip yodlverbinsert |
11 |
- Add build dependencies for USE=doc |
12 |
- Reorganise src_compile() |
13 |
|
14 |
Package-Manager: Portage-2.3.100, Repoman-2.3.22 |
15 |
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org> |
16 |
|
17 |
.../{yodl-4.02.02.ebuild => yodl-4.02.02-r1.ebuild} | 21 +++++++++++++++------ |
18 |
1 file changed, 15 insertions(+), 6 deletions(-) |
19 |
|
20 |
diff --git a/app-text/yodl/yodl-4.02.02.ebuild b/app-text/yodl/yodl-4.02.02-r1.ebuild |
21 |
similarity index 80% |
22 |
rename from app-text/yodl/yodl-4.02.02.ebuild |
23 |
rename to app-text/yodl/yodl-4.02.02-r1.ebuild |
24 |
index 25f75b90993..b54d4d14d58 100644 |
25 |
--- a/app-text/yodl/yodl-4.02.02.ebuild |
26 |
+++ b/app-text/yodl/yodl-4.02.02-r1.ebuild |
27 |
@@ -1,4 +1,4 @@ |
28 |
-# Copyright 1999-2019 Gentoo Authors |
29 |
+# Copyright 1999-2020 Gentoo Authors |
30 |
# Distributed under the terms of the GNU General Public License v2 |
31 |
|
32 |
EAPI=7 |
33 |
@@ -14,7 +14,13 @@ SLOT="0" |
34 |
KEYWORDS="~amd64 ~x86" |
35 |
IUSE="doc" |
36 |
|
37 |
-DEPEND=">=dev-util/icmake-8.00.00" |
38 |
+BDEPEND=" |
39 |
+ >=dev-util/icmake-8.00.00 |
40 |
+ doc? ( |
41 |
+ dev-texlive/texlive-latexextra |
42 |
+ dev-texlive/texlive-plaingeneric |
43 |
+ ) |
44 |
+" |
45 |
|
46 |
S=${WORKDIR}/${P}/${PN} |
47 |
|
48 |
@@ -42,6 +48,9 @@ src_prepare() { |
49 |
-e "s/ranlib/$(tc-getRANLIB)/" \ |
50 |
-i icmake/stdcompile || die |
51 |
|
52 |
+ sed -e '/strip/s|"-s"|""|g' \ |
53 |
+ -i icmake/program || die |
54 |
+ |
55 |
# required for std::filesystem usage |
56 |
append-cxxflags -std=c++17 |
57 |
|
58 |
@@ -49,10 +58,10 @@ src_prepare() { |
59 |
} |
60 |
|
61 |
src_compile() { |
62 |
- ./build programs || die |
63 |
- ./build macros || die |
64 |
- ./build man || die |
65 |
- use doc && { ./build manual || die ; } |
66 |
+ local target |
67 |
+ for target in programs macros man $(usex doc manual ''); do |
68 |
+ ./build ${target} || die "${target} failed" |
69 |
+ done |
70 |
} |
71 |
|
72 |
src_install() { |