From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-arch/funzix/, app-arch/funzix/files/
Date: Fri, 29 Dec 2017 13:17:09 +0000 (UTC) [thread overview]
Message-ID: <1514553353.61e6e0542dcbb9eab9c80f90f48d60ff467a166a.soap@gentoo> (raw)
commit: 61e6e0542dcbb9eab9c80f90f48d60ff467a166a
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 29 11:20:46 2017 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Fri Dec 29 13:15:53 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61e6e054
app-arch/funzix: Port to EAPI 6
Package-Manager: Portage-2.3.19, Repoman-2.3.6
app-arch/funzix/files/funzix-1.0-fix-build-system.patch | 8 ++++++++
app-arch/funzix/funzix-1.0.ebuild | 14 +++++++++-----
2 files changed, 17 insertions(+), 5 deletions(-)
diff --git a/app-arch/funzix/files/funzix-1.0-fix-build-system.patch b/app-arch/funzix/files/funzix-1.0-fix-build-system.patch
new file mode 100644
index 00000000000..1fd5482d4dc
--- /dev/null
+++ b/app-arch/funzix/files/funzix-1.0-fix-build-system.patch
@@ -0,0 +1,8 @@
+--- a/Makefile
++++ b/Makefile
+@@ -1,4 +1,4 @@
+-CFLAGS += -Wall -g
++CFLAGS += -Wall
+ LDLIBS += -lz
+
+ all: funzix
diff --git a/app-arch/funzix/funzix-1.0.ebuild b/app-arch/funzix/funzix-1.0.ebuild
index 9d479a6c8ef..8f62fd7801f 100644
--- a/app-arch/funzix/funzix-1.0.ebuild
+++ b/app-arch/funzix/funzix-1.0.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
+EAPI=6
+
inherit toolchain-funcs
DESCRIPTION="unpacker for the bogus ZIX format"
@@ -12,11 +14,13 @@ SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
-src_compile() {
- emake CC="$(tc-getCC)" || die "emake failed"
+PATCHES=( "${FILESDIR}"/${PN}-1.0-fix-build-system.patch )
+
+src_configure() {
+ tc-export CC
}
src_install() {
- dobin funzix || die
- dodoc README
+ dobin funzix
+ einstalldocs
}
reply other threads:[~2017-12-29 13:17 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1514553353.61e6e0542dcbb9eab9c80f90f48d60ff467a166a.soap@gentoo \
--to=soap@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox