View | Details | Raw Unified | Return to bug 116072
Collapse All | Expand All

(-)net-im/jabberd/Makefile (-2 / +15 lines)
Lines 15-21 Link Here
15
COMMENT=	Online presence and instant messaging server
15
COMMENT=	Online presence and instant messaging server
16
16
17
LIB_DEPENDS=	expat.6:${PORTSDIR}/textproc/expat2 \
17
LIB_DEPENDS=	expat.6:${PORTSDIR}/textproc/expat2 \
18
		gsasl.10:${PORTSDIR}/security/gsasl \
19
		idn.16:${PORTSDIR}/dns/libidn
18
		idn.16:${PORTSDIR}/dns/libidn
20
19
21
OPTIONS=	MYSQL "Support MySQL (storage/auth/reg)" on \
20
OPTIONS=	MYSQL "Support MySQL (storage/auth/reg)" on \
Lines 27-32 Link Here
27
		PIPE "Enable pipe (auth/reg)" off \
26
		PIPE "Enable pipe (auth/reg)" off \
28
		ANON "Enable anonymous (auth/reg)" off \
27
		ANON "Enable anonymous (auth/reg)" off \
29
		FS "Filesystem storage (only for testing)" off \
28
		FS "Filesystem storage (only for testing)" off \
29
		GSASL "GNU SASL auth" on \
30
		CYRUS_SASL "Cyrus SASL auth" off \
30
		DEBUG "Compile with debug messages" on
31
		DEBUG "Compile with debug messages" on
31
32
32
GNU_CONFIGURE=	yes
33
GNU_CONFIGURE=	yes
Lines 79-85 Link Here
79
80
80
.if defined(WITH_SQLITE)
81
.if defined(WITH_SQLITE)
81
CONFIGURE_ARGS+=--enable-sqlite
82
CONFIGURE_ARGS+=--enable-sqlite
82
LIB_DEPENDS+=	sqlite3.8:${PORTSDIR}/databases/sqlite3
83
LIB_DEPENDS+=	sqlite3.8:${PORTSDIR}/databases/sqlite3-threads
83
CFLAGS+=	${PTHREAD_CFLAGS}
84
CFLAGS+=	${PTHREAD_CFLAGS}
84
PLIST_SUB+=	SUB_SQLITE=""
85
PLIST_SUB+=	SUB_SQLITE=""
85
.else
86
.else
Lines 147-152 Link Here
147
PLIST_SUB+=	SUB_ANON=""
148
PLIST_SUB+=	SUB_ANON=""
148
.else
149
.else
149
PLIST_SUB+=	SUB_ANON="@comment "
150
PLIST_SUB+=	SUB_ANON="@comment "
151
.endif
152
153
.if defined(WITH_GSASL) && defined(WITH_CYRUS_SASL)
154
IGNORE=	Cannot be compiled with both, gsasl and cyrus-sasl. Please (re)run 'make config' and deselect either GSASL or CYRUS_SASL
155
.elif defined(WITHOUT_GSASL) && defined(WITHOUT_CYRUS_SASL)
156
IGNORE=	Is useless without a sasl library. Please (re)run 'make config' and choose either GSASL or CYRUS_SASL
157
.elif defined(WITH_GSASL)
158
CONFIGURE_ARGS+=	--enable-sasl=gsasl
159
LIB_DEPENDS+=		gsasl.10:${PORTSDIR}/security/gsasl
160
.elif defined(WITH_CYRUS_SASL)
161
CONFIGURE_ARGS+=	--enable-sasl=cyrus
162
LIB_DEPENDS+=		sasl2.2:${PORTSDIR}/security/cyrus-sasl2
150
.endif
163
.endif
151
164
152
MAN8=		c2s.8 jabberd.8 resolver.8 router.8 s2s.8 sm.8
165
MAN8=		c2s.8 jabberd.8 resolver.8 router.8 s2s.8 sm.8

Return to bug 116072