Skip to content

Commit

Permalink
dev-lang/gprolog: drop epatch
Browse files Browse the repository at this point in the history
Signed-off-by: Sam James <[email protected]>
  • Loading branch information
thesamesam committed Apr 21, 2021
1 parent 6bfd69e commit 4eb645e
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions dev-lang/gprolog/gprolog-1.4.5.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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/"
Expand All @@ -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`"
Expand Down

0 comments on commit 4eb645e

Please sign in to comment.