From 6575c466ad853902232a611bd1b0a3dca24ed7ea Mon Sep 17 00:00:00 2001 From: Oliver Eikemeier Date: Thu, 25 Mar 2004 14:28:17 +0000 Subject: Try to fix the lingering thread problem on -CURRENT, for the better or the worse, GNATS will tell. Linking all components with PTHREAD_LIBS may not be the most elegant solution. Bump PORTREVISION on all components, which may be unnecessary, but safe. --- net/openldap23-server/Makefile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'net/openldap23-server') diff --git a/net/openldap23-server/Makefile b/net/openldap23-server/Makefile index 3739c5834177..4b49a43df1de 100644 --- a/net/openldap23-server/Makefile +++ b/net/openldap23-server/Makefile @@ -7,7 +7,7 @@ PORTNAME= openldap PORTVERSION= 2.2.7 -PORTREVISION= ${OPENLDAP_PORTVERSION} +PORTREVISION= ${OPENLDAP_PORTREVISION} CATEGORIES= net databases MASTER_SITES= ftp://ftp.OpenLDAP.org/pub/OpenLDAP/%SUBDIR%/ \ http://public.planetmirror.com/pub/openldap/%SUBDIR%/ \ @@ -15,6 +15,7 @@ MASTER_SITES= ftp://ftp.OpenLDAP.org/pub/OpenLDAP/%SUBDIR%/ \ ftp://ftp.matrix.com.br/pub/openldap/%SUBDIR%/ \ ftp://ftp.ucr.ac.cr/pub/Unix/openldap/%SUBDIR%/ \ ftp://ftp.ntua.gr/mirror/OpenLDAP/%SUBDIR%/ \ + ftp://ftp.shellhung.org/pub/OpenLDAP/%SUBDIR%/ \ ftp://ftp.dti.ad.jp/pub/net/OpenLDAP/%SUBDIR%/ \ ftp://ftp.u-aizu.ac.jp/pub/net/openldap/%SUBDIR%/ \ ftp://ftp.holywar.net/pub/OpenLDAP/%SUBDIR%/ \ @@ -40,7 +41,7 @@ BROKEN= "incompatible OpenLDAP version: ${WANT_OPENLDAP_VER}" .endif .if defined(CLIENT_ONLY) -OPENLDAP_PORTVERSION= 2 +OPENLDAP_PORTREVISION= 3 OPENLDAP_PKGNAMESUFFIX?=-client OPENLDAP_PKGFILESUFX?= .client @@ -52,7 +53,7 @@ PORTDOCS= drafts rfc .error You have `USE_OPENLDAP' defined either in your environment or in make(1) arguments. .endif .else -OPENLDAP_PORTVERSION= 1 +OPENLDAP_PORTREVISION= 2 OPENLDAP_PKGNAMESUFFIX?=-server OPENLDAP_PKGFILESUFX?= @@ -88,7 +89,7 @@ SED_SCRIPT= -e 's,%%PREFIX%%,${PREFIX},g' \ -e 's,%%DATABASEDIR%%,${DATABASEDIR},g' \ -e 's,%%SLURPDIR%%,${SLURPDIR},g' -CONFIGURE_ARGS= --with-threads \ +CONFIGURE_ARGS= --with-threads=posix \ --with-tls=openssl \ --enable-dynamic @@ -201,6 +202,7 @@ CONFIGURE_ARGS+= --enable-wrappers CPPFLAGS+= ${PTHREAD_CFLAGS} \ -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib +LIBS+= ${PTHREAD_LIBS} CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" \ -- cgit v1.2.3