summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2020-06-03 10:15:01 +0200
committerJeroen Roovers <jer@gentoo.org>2020-06-03 11:10:28 +0200
commit41a1bf2ca3c32fdc4f164b35327ff72aca9992a5 (patch)
tree845f376472c13032fbaeeb315c7d376c3c15a8e3 /app-text/yodl
parentsys-kernel/vanilla-sources: Automated version bump to {4.4.226,4.9.226,4.14.1... (diff)
downloadgentoo-41a1bf2ca3c32fdc4f164b35327ff72aca9992a5.tar.gz
gentoo-41a1bf2ca3c32fdc4f164b35327ff72aca9992a5.tar.bz2
gentoo-41a1bf2ca3c32fdc4f164b35327ff72aca9992a5.zip
app-text/yodl: DEPEND => BDEPEND
- Do not strip yodlverbinsert - Add build dependencies for USE=doc - Reorganise src_compile() Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'app-text/yodl')
-rw-r--r--app-text/yodl/yodl-4.02.02-r1.ebuild (renamed from app-text/yodl/yodl-4.02.02.ebuild)21
1 files changed, 15 insertions, 6 deletions
diff --git a/app-text/yodl/yodl-4.02.02.ebuild b/app-text/yodl/yodl-4.02.02-r1.ebuild
index 25f75b909934..b54d4d14d58f 100644
--- a/app-text/yodl/yodl-4.02.02.ebuild
+++ b/app-text/yodl/yodl-4.02.02-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -14,7 +14,13 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc"
-DEPEND=">=dev-util/icmake-8.00.00"
+BDEPEND="
+ >=dev-util/icmake-8.00.00
+ doc? (
+ dev-texlive/texlive-latexextra
+ dev-texlive/texlive-plaingeneric
+ )
+"
S=${WORKDIR}/${P}/${PN}
@@ -42,6 +48,9 @@ src_prepare() {
-e "s/ranlib/$(tc-getRANLIB)/" \
-i icmake/stdcompile || die
+ sed -e '/strip/s|"-s"|""|g' \
+ -i icmake/program || die
+
# required for std::filesystem usage
append-cxxflags -std=c++17
@@ -49,10 +58,10 @@ src_prepare() {
}
src_compile() {
- ./build programs || die
- ./build macros || die
- ./build man || die
- use doc && { ./build manual || die ; }
+ local target
+ for target in programs macros man $(usex doc manual ''); do
+ ./build ${target} || die "${target} failed"
+ done
}
src_install() {