Fix managesieve-login runtime library path, broken since moving to
plugins for Dovecot. Problem reported by johnw dot mail@ gmail, fix from Brad.
This commit is contained in:
parent
c070ae24e9
commit
19020869ba
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2011/05/23 22:49:00 sthen Exp $
|
||||
# $OpenBSD: Makefile,v 1.2 2011/06/09 21:45:44 sthen Exp $
|
||||
|
||||
SHARED_ONLY= Yes
|
||||
|
||||
@ -8,6 +8,7 @@ V_SIEVE= 0.2.2
|
||||
V_DOVECOT= 2.0
|
||||
|
||||
DISTNAME= dovecot-${V_DOVECOT}-pigeonhole-${V_SIEVE}
|
||||
REVISION= 0
|
||||
EPOCH= 0
|
||||
CATEGORIES= mail
|
||||
PKGNAME= dovecot-pigeonhole-${V_SIEVE}
|
||||
@ -33,8 +34,7 @@ LIB_DEPENDS= mail/dovecot>=2.0
|
||||
|
||||
USE_LIBTOOL= Yes
|
||||
CONFIGURE_STYLE= gnu
|
||||
CONFIGURE_ARGS= --mandir=${PREFIX}/man \
|
||||
--docdir=${PREFIX}/share/doc
|
||||
CONFIGURE_ARGS= --docdir=${PREFIX}/share/doc
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib"
|
||||
|
||||
|
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-src_managesieve-login_Makefile_in,v 1.1 2011/06/09 21:45:44 sthen Exp $
|
||||
--- src/managesieve-login/Makefile.in.orig Wed Jun 8 17:38:25 2011
|
||||
+++ src/managesieve-login/Makefile.in Wed Jun 8 17:39:13 2011
|
||||
@@ -274,7 +274,7 @@ libmanagesieve_login_settings_la_CFLAGS = \
|
||||
libs = \
|
||||
$(top_builddir)/src/lib-managesieve/libmanagesieve.a
|
||||
|
||||
-managesieve_login_LDADD = $(libs) $(LIBDOVECOT_LOGIN) $(LIBDOVECOT)
|
||||
+managesieve_login_LDADD = $(libs) $(LIBDOVECOT_LOGIN) $(LIBDOVECOT) -Wl,-rpath,$(dovecot_pkglibdir)
|
||||
managesieve_login_DEPENDENCIES = $(libs) $(LIBDOVECOT_LOGIN_DEPS) $(LIBDOVECOT_DEPS)
|
||||
managesieve_login_SOURCES = \
|
||||
client.c \
|
Loading…
x
Reference in New Issue
Block a user