View | Details | Raw Unified | Return to bug 54436
Collapse All | Expand All

(-)Mk/bsd.port.mk (+28 lines)
Lines 342-347 Link Here
342
# USE_MOTIF		- Says that the port uses the Motif toolkit.  Implies USE_XPM.
342
# USE_MOTIF		- Says that the port uses the Motif toolkit.  Implies USE_XPM.
343
# USE_XPM		- Says that the port uses the xpm graphics libraries.
343
# USE_XPM		- Says that the port uses the xpm graphics libraries.
344
##
344
##
345
# USE_OPENLDAP			- Says that the port uses the OpenLDAP libraries
346
#				- Implies WANT_OPENLDAP_VER?=21.
347
# WANT_OPENLDAP_VER		- legal values are: 12, 20, 21 and 22
348
#				- If set to an unknown value, the port is marked BROKEN.
349
##
345
# USE_OPENSSL	- Says that the port relies on the OpenSSL package.
350
# USE_OPENSSL	- Says that the port relies on the OpenSSL package.
346
#				  Default: not set.
351
#				  Default: not set.
347
##
352
##
Lines 1324-1329 Link Here
1324
LIBTOOLIZE?=	${LIBTOOL_LIBEXECDIR}/libtoolize
1329
LIBTOOLIZE?=	${LIBTOOL_LIBEXECDIR}/libtoolize
1325
1330
1326
# END LIBTOOL
1331
# END LIBTOOL
1332
######################################################################
1333
1334
######################################################################
1335
# OpenLDAP
1336
1337
.if defined(USE_OPENLDAP_VER)
1338
USE_OPENLDAP?=		yes
1339
WANT_OPENLDAP_VER=	${USE_OPENLDAP_VER}
1340
.endif
1341
1342
.if defined(USE_OPENLDAP)
1343
WANT_OPENLDAP_VER?=	21
1344
.if ${WANT_OPENLDAP_VER} == 12
1345
LIB_DEPENDS+=		ldap.1:${PORTSDIR}/net/openldap12
1346
.elif ${WANT_OPENLDAP_VER} == 20 || ${WANT_OPENLDAP_VER} == 21 || \
1347
			${WANT_OPENLDAP_VER} == 22
1348
LIB_DEPENDS+=		ldap.2:${PORTSDIR}/net/openldap${WANT_OPENLDAP_VER}-client
1349
.else
1350
BROKEN=			"unknown OpenLDAP version: ${WANT_OPENLDAP_VER}"
1351
.endif
1352
.endif
1353
1354
# END OpenLDAP
1327
######################################################################
1355
######################################################################
1328
1356
1329
.if defined(USE_GCC) && ${USE_GCC} == 2.95 && ( ${OSVERSION} < 400012 || ${OSVERSION} > 500034 )
1357
.if defined(USE_GCC) && ${USE_GCC} == 2.95 && ( ${OSVERSION} < 400012 || ${OSVERSION} > 500034 )

Return to bug 54436