summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-cpp/muParser/muParser-2.2.6.1.ebuild')
-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