aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/bsd.ldap.mk
diff options
context:
space:
mode:
authortijl <tijl@FreeBSD.org>2014-07-25 02:34:16 +0800
committertijl <tijl@FreeBSD.org>2014-07-25 02:34:16 +0800
commitdd9461f57714144c86bbb90f59a0f314976d25a9 (patch)
tree14d88ff45e3710ccf80308fb8ce1a086cd5f11ae /Mk/bsd.ldap.mk
parent9c0aaabc4099ac21625c4069b3383a89963c0c3d (diff)
downloadfreebsd-ports-gnome-dd9461f57714144c86bbb90f59a0f314976d25a9.tar.gz
freebsd-ports-gnome-dd9461f57714144c86bbb90f59a0f314976d25a9.tar.zst
freebsd-ports-gnome-dd9461f57714144c86bbb90f59a0f314976d25a9.zip
net/openldap24-*:
- Convert to USES=libtool and bump dependent ports - Avoid USE_AUTOTOOLS - Don't use PTHREAD_LIBS - Use MAKE_CMD databases/glom: - Drop :keepla - Add INSTALL_TARGET=install-strip databases/libgda4* databases/libgda5*: - Convert to USES=libtool and bump dependent ports - USES=tar:xz - Use INSTALL_TARGET=install-strip - Use @sample databases/libgdamm: - Drop :keepla - USES=tar:bzip2 - Use INSTALL_TARGET=install-strip databases/libgdamm5: - Add INSTALL_TARGET=install-strip - Drop --enable-static (inherited from old repocopy) devel/anjuta x11-toolkits/py-gnome-extras: - Drop :keepla dns/powerdns dns/powerdns-devel: - Convert to USES=libtool - Add INSTALL_TARGET=install-strip - Disable static modules - Stop creating library symlinks with .0 suffix, not needed for dynamically opened modules mail/dovecot2: - Add USES=libtool mail/dovecot2-pigeonhole: - Drop CONFIGURE_TARGET (incorrect for Dragonfly) - Add USES=libtool and INSTALL_TARGET=install-strip math/gnumeric: - USES=libtool tar:xz Approved by: portmgr (implicit, bump unstaged ports)
Diffstat (limited to 'Mk/bsd.ldap.mk')
-rw-r--r--Mk/bsd.ldap.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/Mk/bsd.ldap.mk b/Mk/bsd.ldap.mk
index 013a76d8e359..6593baffc956 100644
--- a/Mk/bsd.ldap.mk
+++ b/Mk/bsd.ldap.mk
@@ -36,8 +36,8 @@ Database_Include_MAINTAINER= ports@FreeBSD.org
.if defined(USE_OPENLDAP)
DEFAULT_OPENLDAP_VER?= 24
# OpenLDAP client versions currently supported
-OPENLDAP23_LIBVER= 2.3
-OPENLDAP24_LIBVER= 2.4
+OPENLDAP23_LIB= libldap-2.3.so.2
+OPENLDAP24_LIB= libldap-2.4.so.2
.if exists(${LOCALBASE}/bin/ldapwhoami)
_OPENLDAP_VER!= ${LOCALBASE}/bin/ldapwhoami -VV 2>&1 | ${GREP} ldapwhoami | ${SED} -E 's/.*OpenLDAP: ldapwhoami (2)\.(3|4).*/\1\2/'
@@ -77,7 +77,7 @@ _OPENLDAP_FLAVOUR= -sasl
.endif
# And now we are checking if we can use it
-.if defined(OPENLDAP${OPENLDAP_VER}_LIBVER)
+.if defined(OPENLDAP${OPENLDAP_VER}_LIB)
# compatability shim
.if defined(BROKEN_WITH_OPENLDAP)
IGNORE_WITH_OPENLDAP=${BROKEN_WITH_OPENLDAP}
@@ -89,7 +89,7 @@ IGNORE= cannot install: doesn't work with OpenLDAP version: ${OPENLDAP_VER} (Do
. endif
. endfor
.endif # IGNORE_WITH_OPENLDAP
-LIB_DEPENDS+= libldap-${OPENLDAP${OPENLDAP_VER}_LIBVER}.so:${PORTSDIR}/net/openldap${OPENLDAP_VER}${_OPENLDAP_FLAVOUR}-client
+LIB_DEPENDS+= ${OPENLDAP${OPENLDAP_VER}_LIB}:${PORTSDIR}/net/openldap${OPENLDAP_VER}${_OPENLDAP_FLAVOUR}-client
.else
IGNORE= cannot install: unknown OpenLDAP version: ${OPENLDAP_VER}
.endif # Check for correct libs