View | Details | Raw Unified | Return to bug 55680 | Differences between
and this patch

Collapse All | Expand All

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

Return to bug 55680