diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-12-30 01:11:30 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-12-30 01:11:30 +0000 |
commit | 76dfef0cec9170000357d2f354e412daf48941fc (patch) | |
tree | 56647120c0ee20ab3494475c86722034cd194b02 /app-arch/par/par-1.1.ebuild | |
parent | ccf84bcd604130256d1377cd58f0a634ae6ee20f (diff) |
gentoo resync : 30.12.2017
Diffstat (limited to 'app-arch/par/par-1.1.ebuild')
-rw-r--r-- | app-arch/par/par-1.1.ebuild | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/app-arch/par/par-1.1.ebuild b/app-arch/par/par-1.1.ebuild index a0bb3fff9ad7..63ac82a7d472 100644 --- a/app-arch/par/par-1.1.ebuild +++ b/app-arch/par/par-1.1.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=2 +EAPI=6 inherit toolchain-funcs @@ -14,23 +14,19 @@ SLOT="0" KEYWORDS="amd64 ppc sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" IUSE="" -DEPEND="!app-text/par +DEPEND=" + !app-text/par !dev-util/par" RDEPEND="${DEPEND}" S="${WORKDIR}"/par-cmdline +PATCHES=( "${FILESDIR}"/${PN}-1.1-fix-build-system.patch ) -src_prepare() { - sed -i \ - -e 's/\$(CC)/$(LINK.o)/' \ - Makefile || die "sed failed" -} - -src_compile() { - emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" || die "emake failed" +src_configure() { + tc-export CC } src_install() { - dobin par || die "dobin failed" - dodoc AUTHORS NEWS README + dobin par + einstalldocs } |