From 4eb645e6e68f8d3a31e290dd01ac8fb8a2e2d09c Mon Sep 17 00:00:00 2001 From: Sam James Date: Wed, 21 Apr 2021 10:14:30 +0100 Subject: dev-lang/gprolog: drop epatch Signed-off-by: Sam James --- dev-lang/gprolog/gprolog-1.4.5.ebuild | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) (limited to 'dev-lang/gprolog') diff --git a/dev-lang/gprolog/gprolog-1.4.5.ebuild b/dev-lang/gprolog/gprolog-1.4.5.ebuild index 500e990fa480..5892e1fbf171 100644 --- a/dev-lang/gprolog/gprolog-1.4.5.ebuild +++ b/dev-lang/gprolog/gprolog-1.4.5.ebuild @@ -3,7 +3,7 @@ EAPI=6 -inherit epatch flag-o-matic toolchain-funcs +inherit flag-o-matic toolchain-funcs DESCRIPTION="A native Prolog compiler with constraint solving over finite domains (FD)" HOMEPAGE="http://www.gprolog.org/" @@ -15,15 +15,13 @@ SLOT="0" KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris" IUSE="debug doc examples" -src_prepare() { - epatch "${FILESDIR}"/${P}-ldflags.patch - epatch "${FILESDIR}"/${P}-links.patch - epatch "${FILESDIR}"/${P}-nodocs.patch - epatch "${FILESDIR}"/${P}-txt-file.patch - epatch "${FILESDIR}"/${P}-check-boot.patch - - eapply_user -} +PATCHES=( + "${FILESDIR}"/${P}-ldflags.patch + "${FILESDIR}"/${P}-links.patch + "${FILESDIR}"/${P}-nodocs.patch + "${FILESDIR}"/${P}-txt-file.patch + "${FILESDIR}"/${P}-check-boot.patch +) src_configure() { CFLAGS_MACHINE="`get-flag -march` `get-flag -mcpu` `get-flag -mtune`" -- cgit v1.2.3-65-gdbad