summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-04-21 10:14:30 +0100
committerSam James <sam@gentoo.org>2021-04-21 19:50:07 +0100
commit4eb645e6e68f8d3a31e290dd01ac8fb8a2e2d09c (patch)
tree8059795268f796c4d8968b1ed9b57c5e9262876e /dev-lang/gprolog
parentapp-i18n/tagainijisho: Revert "drop superfluous PROPERTIES="live"" (diff)
downloadgentoo-4eb645e6e68f8d3a31e290dd01ac8fb8a2e2d09c.tar.gz
gentoo-4eb645e6e68f8d3a31e290dd01ac8fb8a2e2d09c.tar.bz2
gentoo-4eb645e6e68f8d3a31e290dd01ac8fb8a2e2d09c.zip
dev-lang/gprolog: drop epatch
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-lang/gprolog')
-rw-r--r--dev-lang/gprolog/gprolog-1.4.5.ebuild18
1 files changed, 8 insertions, 10 deletions
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`"