From 9996b62071f83a8998f64e7ca0aa70a0235c0b74 Mon Sep 17 00:00:00 2001 From: FUJISHIMA Satsuki Date: Tue, 6 Nov 2001 13:06:54 +0000 Subject: add hook to use OpenLDAP2. PR: 30956 Submitted by: Michael Lucas Approved by: maintainer of silence --- net/gq/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/net/gq/Makefile b/net/gq/Makefile index d51abe69dc17..e17c60919439 100644 --- a/net/gq/Makefile +++ b/net/gq/Makefile @@ -12,7 +12,11 @@ MASTER_SITES= http://biot.com/gq/download/ MAINTAINER= roman@xpert.com -LIB_DEPENDS= ldap.1:${PORTSDIR}/net/openldap +.if defined(WITH_OPENLDAP2) +LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap2 +.else +LIB_DEPENDS+= ldap.1:${PORTSDIR}/net/openldap +.endif USE_X_PREFIX= yes USE_GTK= yes -- cgit v1.2.3