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

(-)Makefile (-2 / +18 lines)
Lines 28-34 Link Here
28
28
29
OPTIONS=	MSN "Enable MSN protocol support" On \
29
OPTIONS=	MSN "Enable MSN protocol support" On \
30
		LDAP "Enable LDAP authentication support" Off \
30
		LDAP "Enable LDAP authentication support" Off \
31
		RECODE "Enable oscar_recode_charset" Off
31
		RECODE "Enable oscar_recode_charset" Off \
32
		DEBUG "Create debuggable binary" Off \
33
		OPENSSL "Use openssl rather than gnutls" Off \
34
		IPV6 "Compile IPV6 support" On
32
35
33
CONFIGURE_ARGS=	--mandir=${PREFIX}/man --config=${PREFIX}/etc/bitlbee
36
CONFIGURE_ARGS=	--mandir=${PREFIX}/man --config=${PREFIX}/etc/bitlbee
34
37
Lines 39-50 Link Here
39
.endif
42
.endif
40
43
41
.if !defined(WITHOUT_MSN)
44
.if !defined(WITHOUT_MSN)
42
LIB_DEPENDS+=	gnutls.15:${PORTSDIR}/security/gnutls
43
CONFIGURE_ARGS+=--msn=1
45
CONFIGURE_ARGS+=--msn=1
44
.else
46
.else
45
CONFIGURE_ARGS+=--msn=0 --ssl=bogus
47
CONFIGURE_ARGS+=--msn=0 --ssl=bogus
46
.endif
48
.endif
47
49
50
.if defined(WITH_OPENSSL)
51
CONFIGURE_ARGS+=--ssl=openssl 
52
.else
53
LIB_DEPENDS+=	gnutls.15:${PORTSDIR}/security/gnutls
54
.endif
55
48
.if defined(WITH_LDAP)
56
.if defined(WITH_LDAP)
49
USE_OPENLDAP=	yes
57
USE_OPENLDAP=	yes
50
CONFIGURE_ARGS+=--ldap=${LOCALBASE}
58
CONFIGURE_ARGS+=--ldap=${LOCALBASE}
Lines 54-59 Link Here
54
post-patch::
62
post-patch::
55
	@cd ${WRKDIR} && \
63
	@cd ${WRKDIR} && \
56
		${PATCH} ${PATCH_ARGS} < ${FILESDIR}/oscar-recode-patch
64
		${PATCH} ${PATCH_ARGS} < ${FILESDIR}/oscar-recode-patch
65
.endif
66
67
.if defined(WITH_DEBUG)
68
CONFIGURE_ARGS+=--debug=1
69
.endif
70
71
.if defined(WITHOUT_IPV6)
72
CONFIGURE_ARGS+=--ipv6=0
57
.endif
73
.endif
58
74
59
pre-install:
75
pre-install:

Return to bug 108689