summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2019-04-13 00:08:52 +0200
committerAndreas K. Hüttel <dilfridge@gentoo.org>2019-04-13 00:09:00 +0200
commitd84fc82f3c12794444c02955594e2cdc3bbe8a88 (patch)
treee84e1e95c906f66fc6535cd62c194f20d5e1fb2b /mail-filter
parentapp-editors/nano: arm64 stable (bug #681686) (diff)
downloadgentoo-d84fc82f3c12794444c02955594e2cdc3bbe8a88.tar.gz
gentoo-d84fc82f3c12794444c02955594e2cdc3bbe8a88.tar.bz2
gentoo-d84fc82f3c12794444c02955594e2cdc3bbe8a88.zip
mail-filter/libmilter: EAPI bump
Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
Diffstat (limited to 'mail-filter')
-rw-r--r--mail-filter/libmilter/libmilter-1.0.2.ebuild16
1 files changed, 8 insertions, 8 deletions
diff --git a/mail-filter/libmilter/libmilter-1.0.2.ebuild b/mail-filter/libmilter/libmilter-1.0.2.ebuild
index a804150cb01b..326d780d483f 100644
--- a/mail-filter/libmilter/libmilter-1.0.2.ebuild
+++ b/mail-filter/libmilter/libmilter-1.0.2.ebuild
@@ -1,9 +1,9 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI="2"
+EAPI=7
-inherit eutils multilib toolchain-funcs
+inherit multilib toolchain-funcs
# This library is part of sendmail, but it does not share the version number with it.
# In order to find the right libmilter version number, check SMFI_VERSION definition
@@ -27,8 +27,9 @@ RDEPEND="!mail-mta/sendmail"
S="${WORKDIR}/sendmail-${SENDMAIL_VER}"
src_prepare() {
- epatch "${FILESDIR}"/${PN}-build-system.patch
- epatch "${FILESDIR}"/${PN}-sharedlib.patch
+ eapply "${FILESDIR}"/${PN}-build-system.patch
+ eapply "${FILESDIR}"/${PN}-sharedlib.patch
+ default
local CC="$(tc-getCC)"
local ENVDEF="-DNETUNIX -DNETINET"
@@ -45,7 +46,7 @@ src_prepare() {
src_compile() {
pushd libmilter
- emake -j1 MILTER_SOVER=${PV} || die "libmilter compilation failed"
+ emake -j1 MILTER_SOVER=${PV}
popd
}
@@ -58,9 +59,8 @@ src_install () {
MANOWN=root MANGRP=0 INCOWN=root INCGRP=0 \
MSPQOWN=root CFOWN=root CFGRP=0 \
MILTER_SOVER=${PV} \
- install -C obj.*/libmilter \
- || die "install failed"
+ install -C obj.*/libmilter
dodoc libmilter/README
- dohtml libmilter/docs/*
+ dodoc libmilter/docs/*
}