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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id EB94415808C for ; Sat, 12 Feb 2022 18:50:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 44640E087A; Sat, 12 Feb 2022 18:50:55 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1C8E3E082B for ; Sat, 12 Feb 2022 18:50:53 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9E73E3432A2 for ; Sat, 12 Feb 2022 18:50:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E297D2D2 for ; Sat, 12 Feb 2022 18:50:49 +0000 (UTC) From: "Lars Wendler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Lars Wendler" Message-ID: <1644691843.c0ffd1c2c7b9181b38ffd279854aa3f27f3bcbc8.polynomial-c@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-shells/zsh/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-shells/zsh/zsh-9999.ebuild X-VCS-Directories: app-shells/zsh/ X-VCS-Committer: polynomial-c X-VCS-Committer-Name: Lars Wendler X-VCS-Revision: c0ffd1c2c7b9181b38ffd279854aa3f27f3bcbc8 X-VCS-Branch: master Date: Sat, 12 Feb 2022 18:50:49 +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: a2e43f38-69b6-4762-aefe-582c2fe9b619 X-Archives-Hash: 5680026db577ff540c4dbeedc83137a5 commit: c0ffd1c2c7b9181b38ffd279854aa3f27f3bcbc8 Author: Lars Wendler gentoo org> AuthorDate: Sat Feb 12 18:50:18 2022 +0000 Commit: Lars Wendler gentoo org> CommitDate: Sat Feb 12 18:50:43 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0ffd1c2 app-shells/zsh: Synced live ebuild Signed-off-by: Lars Wendler gentoo.org> app-shells/zsh/zsh-9999.ebuild | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/app-shells/zsh/zsh-9999.ebuild b/app-shells/zsh/zsh-9999.ebuild index 455373830a74..1e2235175665 100644 --- a/app-shells/zsh/zsh-9999.ebuild +++ b/app-shells/zsh/zsh-9999.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit autotools flag-o-matic prefix @@ -42,7 +42,7 @@ DEPEND="sys-apps/groff PDEPEND=" examples? ( app-doc/zsh-lovers ) " -if [[ ${PV} == 9999* ]] ; then +if [[ ${PV} == *9999 ]] ; then DEPEND+=" app-text/yodl doc? ( sys-apps/texinfo @@ -52,21 +52,21 @@ if [[ ${PV} == 9999* ]] ; then fi src_prepare() { - if [[ ${PV} != 9999* ]]; then + if [[ ${PV} != *9999 ]]; then # fix zshall problem with soelim ln -s Doc man1 || die mv Doc/zshall.1 Doc/zshall.1.soelim || die soelim Doc/zshall.1.soelim > Doc/zshall.1 || die - - # add openrc specific options for init.d completion - eapply "${FILESDIR}"/${PN}-5.3-init.d-gentoo.diff fi + # add openrc specific options for init.d completion + eapply "${FILESDIR}"/${PN}-5.3-init.d-gentoo.diff + default hprefixify configure.ac - if [[ ${PV} == 9999* ]] ; then - sed -i "/^VERSION=/s/=.*/=${PV}/" Config/version.mk || die + if [[ ${PV} == *9999 ]] ; then + sed -i "/^VERSION=/s@=.*@=${PV}@" Config/version.mk || die fi eautoreconf } @@ -127,7 +127,7 @@ src_configure() { src_compile() { default - if [[ ${PV} == 9999* ]] && use doc ; then + if [[ ${PV} == *9999 ]] && use doc ; then emake -C Doc everything fi }