summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2021-11-25 00:45:52 +0100
committerMarek Szuba <marecki@gentoo.org>2021-11-25 00:47:31 +0100
commit762175133d09f52ca1cd8e1726a6b6cae3104303 (patch)
tree61f8fee67ea2fe7e5e7bf568ac76ae2e50465c8b /dev-util
parentdev-util/omake: remove old (diff)
downloadgentoo-762175133d09f52ca1cd8e1726a6b6cae3104303.tar.gz
gentoo-762175133d09f52ca1cd8e1726a6b6cae3104303.tar.bz2
gentoo-762175133d09f52ca1cd8e1726a6b6cae3104303.zip
dev-util/omake: update EAPI 5 -> 8, fix USE=doc
Closes: https://bugs.gentoo.org/819501 Closes: https://bugs.gentoo.org/826486 Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/omake/omake-0.10.3-r1.ebuild (renamed from dev-util/omake/omake-0.10.3.ebuild)15
1 files changed, 6 insertions, 9 deletions
diff --git a/dev-util/omake/omake-0.10.3.ebuild b/dev-util/omake/omake-0.10.3-r1.ebuild
index 56f5309054d2..fdebd689cc2c 100644
--- a/dev-util/omake/omake-0.10.3.ebuild
+++ b/dev-util/omake/omake-0.10.3-r1.ebuild
@@ -1,9 +1,7 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
-
-inherit epatch
+EAPI=8
DESCRIPTION="Make replacement"
HOMEPAGE="http://projects.camlcity.org/projects/omake.html"
@@ -21,10 +19,9 @@ DEPEND=">=dev-lang/ocaml-3.10.2:=[ocamlopt?]
readline? ( >=sys-libs/readline-4.3:0= )"
RDEPEND="${DEPEND}"
-src_prepare() {
- epatch \
- "${FILESDIR}/${PN}-0.10.2-cflags.patch"
-}
+PATCHES=(
+ "${FILESDIR}/${PN}-0.10.2-cflags.patch"
+)
src_configure() {
./configure \
@@ -43,7 +40,7 @@ src_install() {
emake INSTALL_ROOT="${D}" install
dodoc ChangeLog CONTRIBUTORS.org README.md
if use doc; then
- dodoc doc/ps/omake-doc.{pdf,ps} doc/txt/omake-doc.txt
- dohtml -r doc/html/*
+ dodoc doc/ps/omake-doc.pdf doc/txt/omake-doc.txt
+ dodoc -r doc/html
fi
}