summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2022-02-12 19:50:18 +0100
committerLars Wendler <polynomial-c@gentoo.org>2022-02-12 19:50:43 +0100
commitc0ffd1c2c7b9181b38ffd279854aa3f27f3bcbc8 (patch)
treedb96b596cba1d8a0adc67c49b8b476760f75296f
parentapp-shells/zsh: Bump to version 5.8.1 (diff)
downloadgentoo-c0ffd1c2.tar.gz
gentoo-c0ffd1c2.tar.bz2
gentoo-c0ffd1c2.zip
app-shells/zsh: Synced live ebuild
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
-rw-r--r--app-shells/zsh/zsh-9999.ebuild20
1 files 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
}