aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsf <sf@FreeBSD.org>2001-11-06 21:06:54 +0800
committersf <sf@FreeBSD.org>2001-11-06 21:06:54 +0800
commit772cd69ae66886548c79eb0d36f9209bd248633c (patch)
tree7a62ea40b0a29e61c71d75dbbed21437832259dd
parent1d296672c857b59a620d1b71d93fb30b1332bee0 (diff)
downloadfreebsd-ports-gnome-772cd69ae66886548c79eb0d36f9209bd248633c.tar.gz
freebsd-ports-gnome-772cd69ae66886548c79eb0d36f9209bd248633c.tar.zst
freebsd-ports-gnome-772cd69ae66886548c79eb0d36f9209bd248633c.zip
add hook to use OpenLDAP2.
PR: 30956 Submitted by: Michael Lucas <mwlucas@blackhelicopters.org> Approved by: maintainer of silence
-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