View | Details | Raw Unified | Return to bug 53123 | Differences between
and this patch

Collapse All | Expand All

(-)mail/turba/Makefile (-10 / +6 lines)
Lines 7-12 Link Here
7
7
8
PORTNAME=	turba
8
PORTNAME=	turba
9
PORTVERSION=	1.2
9
PORTVERSION=	1.2
10
PORTREVISION=	1
10
CATEGORIES=	mail www
11
CATEGORIES=	mail www
11
MASTER_SITES=	ftp://ftp.horde.org/pub/turba/				\
12
MASTER_SITES=	ftp://ftp.horde.org/pub/turba/				\
12
		ftp://ftp.au.horde.org/pub/horde/turba/			\
13
		ftp://ftp.au.horde.org/pub/horde/turba/			\
Lines 19-40 Link Here
19
COMMENT=	The Horde contact management application
20
COMMENT=	The Horde contact management application
20
21
21
#-----------------------------------------------------------------------
22
#-----------------------------------------------------------------------
22
# You may define these options:
23
# You may define this option:
23
#
24
#
24
# - WITHOUT_LDAP        : if you do not need OpenLDAP;
25
# - WITHOUT_LDAP        : if you do not need OpenLDAP;
25
# - WITH_LDAP1          : if you prefer OpenLDAP1.
26
#
27
# - WITHOUT_SUPPORTED_DB: if you run a database not in the ports tree;
28
#
26
#
29
#-----------------------------------------------------------------------
27
#-----------------------------------------------------------------------
30
28
31
.if !defined(WITHOUT_LDAP)
29
.if !defined(WITHOUT_LDAP)
32
.if defined(WITH_LDAP1)
30
.if exists(${LOCALBASE}/lib/libldap.so.1)
33
LIB_DEPENDS+=	ldap.1:${PORTSDIR}/net/openldap12 \
31
LIB_DEPENDS+=	ldap.1:${PORTSDIR}/net/openldap12
34
		lber.1:${PORTSDIR}/net/openldap12
35
.else
32
.else
36
LIB_DEPENDS+=	ldap.2:${PORTSDIR}/net/openldap20 \
33
LIB_DEPENDS+=	ldap.2:${PORTSDIR}/net/openldap21
37
		lber.2:${PORTSDIR}/net/openldap20
38
.endif
34
.endif
39
.endif
35
.endif
40
36
Lines 70-76 Link Here
70
66
71
pre-install:
67
pre-install:
72
.if !defined(WITHOUT_LDAP)
68
.if !defined(WITHOUT_LDAP)
73
.if defined(WITH_LDAP1)
69
.if exists(${LOCALBASE}/lib/libldap.so.1)
74
	@if ! ${LDD} ${PHPSO} | ${GREP} -q -e "libldap.so.1"; then \
70
	@if ! ${LDD} ${PHPSO} | ${GREP} -q -e "libldap.so.1"; then \
75
	    ${ECHO_MSG} "" ; \
71
	    ${ECHO_MSG} "" ; \
76
	    ${ECHO_MSG} "Please configure PHP with OpenLDAP support." ; \
72
	    ${ECHO_MSG} "Please configure PHP with OpenLDAP support." ; \

Return to bug 53123