o Respect PTHREAD_LIBS=ANY (like -lthr). [1]

o Use Berkeley DB 4.4, as suggested by OpenLDAP developers.

Submitted by:	nork [1]
This commit is contained in:
Xin LI 2006-11-30 08:39:58 +00:00
parent d66736f013
commit e10cc47dda
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=178310
2 changed files with 8 additions and 4 deletions

View File

@ -39,7 +39,7 @@ BROKEN= incompatible OpenLDAP version: ${WANT_OPENLDAP_VER}
.endif
PORTREVISION_CLIENT= 0
PORTREVISION_SERVER= 0
PORTREVISION_SERVER= 1
.if !defined(CLIENT_ONLY)
OPTIONS= SASL "With (Cyrus) SASL2 support" on \
@ -78,6 +78,8 @@ OPENLDAP_PORTREVISION= ${PORTREVISION_SERVER}
OPENLDAP_PKGFILESUFX=
.endif
CONFIGURE_SED= -e 's,-kthread,${PTHREAD_LIBS},g'
.include <bsd.port.pre.mk>
.if defined(CLIENT_ONLY)
@ -269,7 +271,7 @@ PLIST_SUB+= BACK_BDB="@comment " \
BACK_HDB="@comment "
.else
WITH_BDB_VER?= 43
WITH_BDB_VER?= 44
USE_BDB= yes
.if ${WITH_BDB_VER} >= 42

View File

@ -39,7 +39,7 @@ BROKEN= incompatible OpenLDAP version: ${WANT_OPENLDAP_VER}
.endif
PORTREVISION_CLIENT= 0
PORTREVISION_SERVER= 0
PORTREVISION_SERVER= 1
.if !defined(CLIENT_ONLY)
OPTIONS= SASL "With (Cyrus) SASL2 support" on \
@ -85,6 +85,8 @@ OPENLDAP_PORTREVISION= ${PORTREVISION_SERVER}
OPENLDAP_PKGFILESUFX=
.endif
CONFIGURE_SED= -e 's,-kthread,${PTHREAD_LIBS},g'
.include <bsd.port.pre.mk>
.if defined(CLIENT_ONLY)
@ -286,7 +288,7 @@ PLIST_SUB+= BACK_BDB="@comment " \
BACK_HDB="@comment "
.else
WITH_BDB_VER?= 43
WITH_BDB_VER?= 44
USE_BDB= yes
.if ${WITH_BDB_VER} >= 42