summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcharIes17 <charles17@arcor.de>2017-10-09 16:06:45 +0200
committerPatrice Clement <monsieurp@gentoo.org>2017-10-22 19:14:19 +0200
commit53685ddb52a6450d26365222e0dc6adc275cc2bf (patch)
treec21d37fb4605ae842e34c620774a9db747fc557b
parentdev-util/duma: stable 2.5.15-r2 for ppc, bug #632152 (diff)
downloadgentoo-53685ddb52a6450d26365222e0dc6adc275cc2bf.tar.gz
gentoo-53685ddb52a6450d26365222e0dc6adc275cc2bf.tar.bz2
gentoo-53685ddb52a6450d26365222e0dc6adc275cc2bf.zip
app-admin/socklog: EAPI 6 bump.
Package-Manager: Portage-2.3.10, Repoman-2.3.3 Closes: https://github.com/gentoo/gentoo/pull/5897 Closes: https://bugs.gentoo.org/618574
-rw-r--r--app-admin/socklog/socklog-2.1.0.ebuild18
1 files changed, 10 insertions, 8 deletions
diff --git a/app-admin/socklog/socklog-2.1.0.ebuild b/app-admin/socklog/socklog-2.1.0.ebuild
index f7853dd9904b..1cfad2788449 100644
--- a/app-admin/socklog/socklog-2.1.0.ebuild
+++ b/app-admin/socklog/socklog-2.1.0.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI="3"
+EAPI=6
inherit eutils toolchain-funcs flag-o-matic
@@ -16,20 +16,22 @@ IUSE="static"
RDEPEND=">=sys-process/runit-1.4.0"
+PATCHES=( "${FILESDIR}"/${PN}-2.1.0-headers.patch )
+
S=${WORKDIR}/admin/${P}/src
src_prepare() {
- epatch "${FILESDIR}"/${PN}-2.1.0-headers.patch
+ default
use static && append-ldflags -static
- echo "$(tc-getCC) ${CFLAGS} ${CPPFLAGS}" > conf-cc
- echo "$(tc-getCC) ${CFLAGS} ${LDFLAGS}" > conf-ld
+ echo "$(tc-getCC) ${CFLAGS} ${CPPFLAGS}" > conf-cc || die
+ echo "$(tc-getCC) ${CFLAGS} ${LDFLAGS}" > conf-ld || die
}
src_install() {
- dobin tryto uncat socklog-check || die
- dosbin socklog socklog-conf || die
+ dobin tryto uncat socklog-check
+ dosbin socklog socklog-conf
- cd ..
+ cd .. || die
dodoc package/CHANGES
dohtml doc/*.html
doman man/*