commit:     893b4643b0d6072be646db7822e15adbea7475bc
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 28 02:28:52 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Aug 28 02:29:03 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=893b4643

mail-mta/sendmail: fix build with berkdb

Closes: https://bugs.gentoo.org/808954
Thanks-to: Michael Weiser <michael <AT> weiser.dinsnail.net>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../sendmail/{sendmail-8.17.1.ebuild => sendmail-8.17.1-r1.ebuild}     | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/mail-mta/sendmail/sendmail-8.17.1.ebuild 
b/mail-mta/sendmail/sendmail-8.17.1-r1.ebuild
similarity index 98%
rename from mail-mta/sendmail/sendmail-8.17.1.ebuild
rename to mail-mta/sendmail/sendmail-8.17.1-r1.ebuild
index cfb7fea30f8..6df07e689c4 100644
--- a/mail-mta/sendmail/sendmail-8.17.1.ebuild
+++ b/mail-mta/sendmail/sendmail-8.17.1-r1.ebuild
@@ -52,7 +52,8 @@ src_prepare() {
        eapply_user
 
        local confCCOPTS="${CFLAGS}"
-       local confENVDEF="-DMAXDAEMONS=64 -DHAS_GETHOSTBYNAME2=1"
+       # See bug #808954 for FLOCK
+       local confENVDEF="-DMAXDAEMONS=64 -DHAS_GETHOSTBYNAME2=1 -DHASFLOCK=1"
        local confLDOPTS="${LDFLAGS}"
        local confLIBS=
        local confMAPDEF="-DMAP_REGEX"

Reply via email to