mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
app-arch/arc: Port to EAPI 6
Package-Manager: Portage-2.3.19, Repoman-2.3.6
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="2"
|
||||
EAPI=6
|
||||
|
||||
inherit eutils toolchain-funcs
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="Create & extract files from DOS .ARC files"
|
||||
HOMEPAGE="http://arc.sourceforge.net"
|
||||
@@ -14,17 +14,22 @@ SLOT="0"
|
||||
KEYWORDS="alpha amd64 hppa ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-5.21m-darwin.patch
|
||||
"${FILESDIR}"/${PN}-5.21m-gentoo-fbsd.patch
|
||||
"${FILESDIR}"/${PN}-5.21o-interix.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P/p/m}-darwin.patch \
|
||||
"${FILESDIR}"/${P/p/m}-gentoo-fbsd.patch \
|
||||
"${FILESDIR}"/${P/p/o}-interix.patch
|
||||
default
|
||||
|
||||
sed -i Makefile \
|
||||
-e 's/CFLAGS = $(OPT) $(SYSTEM)/CFLAGS += $(SYSTEM)/' \
|
||||
|| die "sed Makefile"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake CC="$(tc-getCC)" OPT="${LDFLAGS}" || die "emake failed."
|
||||
emake CC="$(tc-getCC)" OPT="${LDFLAGS}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
--- tmclock.c 2005-09-21 18:39:57 +0200
|
||||
+++ tmclock.c.new 2007-06-16 15:58:26 +0200
|
||||
--- a/tmclock.c
|
||||
+++ b/tmclock.c
|
||||
@@ -18,8 +18,10 @@
|
||||
#include <sys/time.h>
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user