summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-01-22 21:40:41 +0000
committerSam James <sam@gentoo.org>2021-01-22 21:42:16 +0000
commit7bee70abcfad720bacea9273a4814bd42868ab6a (patch)
tree566577899a1e3ae1b6088a9ba48f23f9033f69d4 /mail-filter
parentmail-mta/sendmail: fix m4 call (diff)
downloadgentoo-7bee70abcfad720bacea9273a4814bd42868ab6a.tar.gz
gentoo-7bee70abcfad720bacea9273a4814bd42868ab6a.tar.bz2
gentoo-7bee70abcfad720bacea9273a4814bd42868ab6a.zip
mail-filter/libmilter: add -DHAS_GETHOSTBYNAME2=1
Bug: https://bugs.gentoo.org/730890 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'mail-filter')
-rw-r--r--mail-filter/libmilter/libmilter-1.0.2_p1-r1.ebuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/mail-filter/libmilter/libmilter-1.0.2_p1-r1.ebuild b/mail-filter/libmilter/libmilter-1.0.2_p1-r1.ebuild
index 7c9989b34c6a..81714b3ad299 100644
--- a/mail-filter/libmilter/libmilter-1.0.2_p1-r1.ebuild
+++ b/mail-filter/libmilter/libmilter-1.0.2_p1-r1.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=7
@@ -14,14 +14,13 @@ SENDMAIL_VER=8.16.1
DESCRIPTION="The Sendmail Filter API (Milter)"
HOMEPAGE="http://www.sendmail.org/"
SRC_URI="ftp://ftp.sendmail.org/pub/sendmail/sendmail.${SENDMAIL_VER}.tar.gz"
+S="${WORKDIR}/sendmail-${SENDMAIL_VER}"
LICENSE="Sendmail"
SLOT="0/${PV}"
#KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
IUSE="ipv6 poll"
-S="${WORKDIR}/sendmail-${SENDMAIL_VER}"
-
# build system patch copied from sendmail ebuild
PATCHES=(
"${FILESDIR}/sendmail-8.16.1-build-system.patch"
@@ -32,7 +31,8 @@ src_prepare() {
default
local CC="$(tc-getCC)"
- local ENVDEF="-DNETUNIX -DNETINET"
+ local ENVDEF="-DNETUNIX -DNETINET -DHAS_GETHOSTBYNAME2=1"
+
use ipv6 && ENVDEF="${ENVDEF} -DNETINET6"
use poll && ENVDEF="${ENVDEF} -DSM_CONF_POLL=1"