Lines 20-33
Link Here
|
20 |
xmlto:${PORTSDIR}/textproc/xmlto |
20 |
xmlto:${PORTSDIR}/textproc/xmlto |
21 |
.endif |
21 |
.endif |
22 |
LIB_DEPENDS= gmime-2.4:${PORTSDIR}/mail/gmime24 \ |
22 |
LIB_DEPENDS= gmime-2.4:${PORTSDIR}/mail/gmime24 \ |
23 |
zdb.8:${PORTSDIR}/databases/libzdb \ |
23 |
zdb:${PORTSDIR}/databases/libzdb \ |
24 |
mhash.2:${PORTSDIR}/security/mhash \ |
24 |
mhash:${PORTSDIR}/security/mhash \ |
25 |
event-1.4:${PORTSDIR}/devel/libevent |
25 |
event:${PORTSDIR}/devel/libevent |
26 |
|
26 |
|
27 |
CONFLICTS= dbmail-*-2.0.* dbmail-2.* |
27 |
CONFLICTS= dbmail-*-2.0.* dbmail-2.* |
28 |
|
28 |
|
29 |
OPTIONS= SIEVE "Build with support for Sieve mail sorting language" off \ |
29 |
OPTIONS_DEFINE= LDAP SIEVE THREADS |
30 |
LDAP "Build with support for LDAP authentication" off |
30 |
OPTIONS_DEFAULT= THREADS |
|
|
31 |
SIEVE_DESC= "Build with support for Sieve mail sorting language" |
31 |
|
32 |
|
32 |
USE_AUTOTOOLS= libtool |
33 |
USE_AUTOTOOLS= libtool |
33 |
USE_GMAKE= yes |
34 |
USE_GMAKE= yes |
Lines 35-41
Link Here
|
35 |
USE_RC_SUBR= dbmail-pop3d dbmail-lmtpd dbmail-imapd dbmail-timsieved |
36 |
USE_RC_SUBR= dbmail-pop3d dbmail-lmtpd dbmail-imapd dbmail-timsieved |
36 |
USE_OPENSSL= yes |
37 |
USE_OPENSSL= yes |
37 |
|
38 |
|
38 |
CFLAGS+= -fPIC -I${LOCALBASE}/include ${PTHREAD_CFLAGS} |
39 |
CFLAGS+= -fPIC ${PTHREAD_CFLAGS} |
|
|
40 |
CPPFLAGS+= -I${LOCALBASE}/include |
39 |
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS} |
41 |
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS} |
40 |
CONFIGURE_ARGS+= --with-zdb=${LOCALBASE} --sysconfdir=${LOCALBASE}/etc |
42 |
CONFIGURE_ARGS+= --with-zdb=${LOCALBASE} --sysconfdir=${LOCALBASE}/etc |
41 |
MAKE_ARGS+= mandir=${MANPREFIX}/man |
43 |
MAKE_ARGS+= mandir=${MANPREFIX}/man |
Lines 67-73
Link Here
|
67 |
|
69 |
|
68 |
.if defined(WITH_SIEVE) |
70 |
.if defined(WITH_SIEVE) |
69 |
CONFIGURE_ARGS+=--with-sieve=${LOCALBASE} |
71 |
CONFIGURE_ARGS+=--with-sieve=${LOCALBASE} |
70 |
LIB_DEPENDS+= sieve.1:${PORTSDIR}/mail/libsieve |
72 |
LIB_DEPENDS+= sieve:${PORTSDIR}/mail/libsieve |
71 |
PLIST_SUB+= SIEVE="" |
73 |
PLIST_SUB+= SIEVE="" |
72 |
.else |
74 |
.else |
73 |
PLIST_SUB+= SIEVE="@comment " |
75 |
PLIST_SUB+= SIEVE="@comment " |
Lines 81-86
Link Here
|
81 |
PLIST_SUB+= LDAP="@comment " |
83 |
PLIST_SUB+= LDAP="@comment " |
82 |
.endif |
84 |
.endif |
83 |
|
85 |
|
|
|
86 |
.if defined(WITH_THREADS) |
87 |
EXTRA_PATCHES= ${FILESDIR}/extra-patch-acinclude.m4 |
88 |
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-configure |
89 |
.endif |
90 |
|
84 |
.if !defined(NOPORTDOCS) |
91 |
.if !defined(NOPORTDOCS) |
85 |
CONFIGURE_ARGS+= --enable-manpages |
92 |
CONFIGURE_ARGS+= --enable-manpages |
86 |
.endif |
93 |
.endif |