Skip to content

Commit

Permalink
app-admin/socklog: EAPI 6 bump.
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.10, Repoman-2.3.3
Closes: gentoo#5897
Closes: https://bugs.gentoo.org/618574
  • Loading branch information
charIes17 authored and monsieurp committed Oct 22, 2017
1 parent c8d1d14 commit 53685dd
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions app-admin/socklog/socklog-2.1.0.ebuild
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -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/*
Expand Down

0 comments on commit 53685dd

Please sign in to comment.