summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-04-19 17:30:11 +0100
committerSam James <sam@gentoo.org>2021-04-19 20:11:49 +0100
commit760051736a60e6e286fb2ec5a81669396c3b8ce4 (patch)
tree43c6dda47f56d4ebdaf3e6b4adc4d67b44d53221 /dev-cpp
parentapp-doc/psmark: port to EAPI 7 (diff)
downloadgentoo-760051736a60e6e286fb2ec5a81669396c3b8ce4.tar.gz
gentoo-760051736a60e6e286fb2ec5a81669396c3b8ce4.tar.bz2
gentoo-760051736a60e6e286fb2ec5a81669396c3b8ce4.zip
dev-cpp/muParser: port to EAPI 7
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-cpp')
-rw-r--r--dev-cpp/muParser/muParser-2.2.6.1.ebuild12
1 files changed, 7 insertions, 5 deletions
diff --git a/dev-cpp/muParser/muParser-2.2.6.1.ebuild b/dev-cpp/muParser/muParser-2.2.6.1.ebuild
index 2d5b4f14f274..15e8213cc66a 100644
--- a/dev-cpp/muParser/muParser-2.2.6.1.ebuild
+++ b/dev-cpp/muParser/muParser-2.2.6.1.ebuild
@@ -1,13 +1,12 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
-
-inherit epatch
+EAPI=7
DESCRIPTION="Library for parsing mathematical expressions"
HOMEPAGE="http://muparser.beltoforion.de/"
SRC_URI="https://github.com/beltoforion/muparser/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}"/muparser-${PV}
LICENSE="MIT"
SLOT="0"
@@ -15,10 +14,13 @@ KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos"
IUSE="doc test"
RESTRICT="!test? ( test )"
-S=${WORKDIR}/muparser-${PV}
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.32-parallel-build.patch
+)
src_prepare() {
- epatch "${FILESDIR}"/${PN}-1.32-parallel-build.patch
+ default
+
sed -i \
-e 's:-O2::g' \
configure || die