aboutsummaryrefslogtreecommitdiff
path: root/net/openldap24-server
diff options
context:
space:
mode:
authorOliver Eikemeier <eik@FreeBSD.org>2004-03-25 14:28:17 +0000
committerOliver Eikemeier <eik@FreeBSD.org>2004-03-25 14:28:17 +0000
commit6575c466ad853902232a611bd1b0a3dca24ed7ea (patch)
tree95f08b8987502f8bdb062502a8596f97ef3c0c42 /net/openldap24-server
parent269151475448d2907acab5e63fe91b21afc36a91 (diff)
downloadports-6575c466ad853902232a611bd1b0a3dca24ed7ea.tar.gz
ports-6575c466ad853902232a611bd1b0a3dca24ed7ea.zip
Notes
Diffstat (limited to 'net/openldap24-server')
-rw-r--r--net/openldap24-server/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/net/openldap24-server/Makefile b/net/openldap24-server/Makefile
index 3739c5834177..4b49a43df1de 100644
--- a/net/openldap24-server/Makefile
+++ b/net/openldap24-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}" \