summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net/gq/Makefile6
1 files changed, 5 insertions, 1 deletions
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