diff options
Diffstat (limited to 'sci-chemistry/reduce/reduce-3.16.111118.ebuild')
-rw-r--r-- | sci-chemistry/reduce/reduce-3.16.111118.ebuild | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/sci-chemistry/reduce/reduce-3.16.111118.ebuild b/sci-chemistry/reduce/reduce-3.16.111118.ebuild index 6871341758b8..aba49a926d30 100644 --- a/sci-chemistry/reduce/reduce-3.16.111118.ebuild +++ b/sci-chemistry/reduce/reduce-3.16.111118.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ -EAPI=4 +EAPI=6 -inherit eutils toolchain-funcs +inherit toolchain-funcs MY_P="${PN}.${PV}.src" @@ -22,12 +22,11 @@ DEPEND="${RDEPEND} app-arch/unzip" S="${WORKDIR}/" - -src_prepare() { - epatch \ - "${FILESDIR}"/3.13.080428-LDFLAGS.patch \ - "${FILESDIR}"/3.14.080821-CFLAGS.patch -} +PATCHES=( + "${FILESDIR}"/3.13.080428-LDFLAGS.patch + "${FILESDIR}"/3.14.080821-CFLAGS.patch + "${FILESDIR}"/${PN}-3.16.111118-fix-c++14.patch +) src_compile() { DICT_DIR="/usr/share/reduce" |