openbsd-ports/mail/dovecot/patches/patch-src_doveadm_Makefile_in
2012-07-08 23:15:11 +00:00

18 lines
691 B
Plaintext

$OpenBSD: patch-src_doveadm_Makefile_in,v 1.3 2012/07/08 23:15:11 sthen Exp $
Heimdal libkrb5 exports base64_encode and base64_decode conflicting
with libdovecot's versions. Workaround the namespace pollution issue
by statically linking libdovecot so its symbols take precedence.
--- src/doveadm/Makefile.in.orig Mon Jul 2 19:02:44 2012
+++ src/doveadm/Makefile.in Sat Jul 7 21:07:20 2012
@@ -209,7 +209,7 @@ LD = @LD@
LDAP_LIBS = @LDAP_LIBS@
LDFLAGS = @LDFLAGS@
LIBCAP = @LIBCAP@
-LIBDOVECOT = @LIBDOVECOT@
+LIBDOVECOT = $(top_builddir)/src/lib-dovecot/.libs/libdovecot.a
LIBDOVECOT_DEPS = @LIBDOVECOT_DEPS@
LIBDOVECOT_LDA = @LIBDOVECOT_LDA@
LIBDOVECOT_LOGIN = @LIBDOVECOT_LOGIN@