commit:     3953830a49dbb9766faf7791b5b25d6a89a6e137
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 28 16:02:18 2020 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Sun Jun 28 16:02:45 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3953830a

net-analyzer/arpwatch: Have configure find sendmail

Package-Manager: Portage-2.3.103, Repoman-2.3.23
Closes: https://bugs.gentoo.org/730028
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>

 net-analyzer/arpwatch/arpwatch-3.1.ebuild | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/net-analyzer/arpwatch/arpwatch-3.1.ebuild 
b/net-analyzer/arpwatch/arpwatch-3.1.ebuild
index 76be0e590a0..64ae0f6ef45 100644
--- a/net-analyzer/arpwatch/arpwatch-3.1.ebuild
+++ b/net-analyzer/arpwatch/arpwatch-3.1.ebuild
@@ -25,6 +25,7 @@ DEPEND="
 RDEPEND="
        ${DEPEND}
        selinux? ( sec-policy/selinux-arpwatch )
+       virtual/mta
 "
 
 pkg_setup() {
@@ -38,6 +39,11 @@ pkg_postinst() {
        enewuser arpwatch -1 -1 -1 arpwatch
 }
 
+src_configure() {
+       econf \
+               ac_cv_path_V_SENDMAIL=sendmail
+}
+
 src_install() {
        dosbin arp2ethers arpfetch arpsnmp arpwatch bihourly.sh 
massagevendor.py update-ethercodes.sh
        doman arpsnmp.8 arpwatch.8

Reply via email to