summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-i18n/zhcon/zhcon-0.2.6-r3.ebuild')
-rw-r--r--app-i18n/zhcon/zhcon-0.2.6-r3.ebuild9
1 files changed, 5 insertions, 4 deletions
diff --git a/app-i18n/zhcon/zhcon-0.2.6-r3.ebuild b/app-i18n/zhcon/zhcon-0.2.6-r3.ebuild
index f428d22d614..e32f503d307 100644
--- a/app-i18n/zhcon/zhcon-0.2.6-r3.ebuild
+++ b/app-i18n/zhcon/zhcon-0.2.6-r3.ebuild
@@ -1,10 +1,9 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
-WANT_AUTOMAKE="1.9"
-inherit autotools eutils
+inherit autotools
MY_P="${P/6/5}"
@@ -36,11 +35,13 @@ PATCHES=(
)
src_prepare() {
- epatch "${DISTDIR}"/zhcon-0.2.5-to-0.2.6.diff.gz
+ eapply "${WORKDIR}"/zhcon-0.2.5-to-0.2.6.diff
default
for f in $(grep -lir HAVE_GGI_LIB *); do
sed -i -e "s/HAVE_GGI_LIB/HAVE_LIBGGI/" "${f}" || die "sed failed"
done
+ # Required for newer automake
+ touch config.rpath || die
eautoreconf
}