openbsd-ports/mail/dovecot/patches/patch-src_doveadm_Makefile_in

18 lines
690 B
Plaintext
Raw Normal View History

2013-02-01 02:59:03 -05:00
$OpenBSD: patch-src_doveadm_Makefile_in,v 1.5 2013/02/01 07:59:03 brad 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.
2013-02-01 02:59:03 -05:00
--- src/doveadm/Makefile.in.orig Wed Jan 30 16:25:36 2013
+++ src/doveadm/Makefile.in Thu Jan 31 08:50:46 2013
@@ -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@