commit:     545f964483537c220dccc76c193a8a4da68436e6
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 19 11:14:44 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Nov 19 11:32:54 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=545f9644

app-admin/logsentry: use 'emake'

Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-admin/logsentry/logsentry-1.1.1-r2.ebuild | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/app-admin/logsentry/logsentry-1.1.1-r2.ebuild 
b/app-admin/logsentry/logsentry-1.1.1-r2.ebuild
index 39ec1c755fc0..7d4b1f56c3b7 100644
--- a/app-admin/logsentry/logsentry-1.1.1-r2.ebuild
+++ b/app-admin/logsentry/logsentry-1.1.1-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -9,24 +9,23 @@ DESCRIPTION="Automatically monitor system logs and mail 
security violations"
 # Seems that the project has been discontinued by CISCO?
 HOMEPAGE="https://sourceforge.net/projects/sentrytools/";
 SRC_URI="mirror://gentoo/${P}.tar.gz"
+S="${WORKDIR}"/logcheck-${PV}
 
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="amd64 arm ~mips ppc ~s390 sparc x86"
-IUSE=""
 
-DEPEND=">=sys-apps/sed-4"
 RDEPEND="virtual/mailx"
 
-S="${WORKDIR}"/logcheck-${PV}
-
 src_compile() {
        einfo "compile and install mixed in the package makefile"
 }
 
 src_install() {
        dodir /usr/bin /var/tmp/logcheck /etc/logcheck
+
        cp systems/linux/logcheck.sh{,.orig} || die
+
        sed -i \
                -e 's:/usr/local/bin:/usr/bin:' \
                -e 's:/usr/local/etc:/etc/logcheck:' \
@@ -39,7 +38,8 @@ src_install() {
                -e "s:/etc/logcheck/tmp:/var/tmp/logcheck:" \
                -e "s:\$(CC):& \$(LDFLAGS):" \
                Makefile || die "sed Makefile failed"
-       make CC="$(tc-getCC)" CFLAGS="${CFLAGS}" linux || die
+
+       emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" linux
 
        dodoc README* CHANGES CREDITS
        dodoc systems/linux/README.*

Reply via email to