From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6165E1382C5 for ; Wed, 3 Jun 2020 09:10:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8AA4EE0867; Wed, 3 Jun 2020 09:10:35 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6B23AE0867 for ; Wed, 3 Jun 2020 09:10:35 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CCAF134EEA6 for ; Wed, 3 Jun 2020 09:10:32 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3FF4A261 for ; Wed, 3 Jun 2020 09:10:31 +0000 (UTC) From: "Jeroen Roovers" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jeroen Roovers" Message-ID: <1591175428.41a1bf2ca3c32fdc4f164b35327ff72aca9992a5.jer@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/yodl/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-text/yodl/yodl-4.02.02-r1.ebuild app-text/yodl/yodl-4.02.02.ebuild X-VCS-Directories: app-text/yodl/ X-VCS-Committer: jer X-VCS-Committer-Name: Jeroen Roovers X-VCS-Revision: 41a1bf2ca3c32fdc4f164b35327ff72aca9992a5 X-VCS-Branch: master Date: Wed, 3 Jun 2020 09:10:31 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: aac69b30-09b6-417d-9b45-3dd8dde7f836 X-Archives-Hash: 17f770863d29a115b8c42dc4c9505452 commit: 41a1bf2ca3c32fdc4f164b35327ff72aca9992a5 Author: Jeroen Roovers gentoo org> AuthorDate: Wed Jun 3 08:15:01 2020 +0000 Commit: Jeroen Roovers gentoo org> CommitDate: Wed Jun 3 09:10:28 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41a1bf2c 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 gentoo.org> .../{yodl-4.02.02.ebuild => yodl-4.02.02-r1.ebuild} | 21 +++++++++++++++------ 1 file 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 similarity index 80% rename from app-text/yodl/yodl-4.02.02.ebuild rename to app-text/yodl/yodl-4.02.02-r1.ebuild index 25f75b90993..b54d4d14d58 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() {