Add ldap flavor. Fix mt flavor PKGNAME.

Add flavor descriptions to pkg/DESCR.

ok simon@, steven@ (help from steven@ & suggestion from deanna@)
This commit is contained in:
merdely 2007-09-04 21:42:55 +00:00
parent 68b32e01a6
commit f743855671
2 changed files with 16 additions and 4 deletions

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.15 2007/07/05 16:02:03 steven Exp $
# $OpenBSD: Makefile,v 1.16 2007/09/04 21:42:55 merdely Exp $
COMMENT= "companion library to APR"
COMMENT= companion library to APR
DISTNAME= apr-util-1.2.8
FULLPKGNAME= apr-util${MT}-1.2.8
PKGNAME= ${DISTNAME}
SHARED_LIBS += aprutil-1${MT} 2.9 # .2.9
CATEGORIES= devel
@ -12,7 +12,7 @@ MAINTAINER= Aleksander Piotrowski <alek@openbsd.org>
HOMEPAGE= http://apr.apache.org/
FLAVORS= mt
FLAVORS= mt ldap
FLAVOR?=
# Apache License 2.0
@ -37,6 +37,14 @@ CONFIGURE_ARGS= --with-apr=${LOCALBASE} \
--includedir=${LOCALBASE}/include/apr-1${MT}/ \
--with-apr=${LOCALBASE}/bin/apr-1${MT}-config
.if ${FLAVOR:L:Mldap}
CONFIGURE_ARGS+= --with-ldap-include=${LOCALBASE}/include \
--with-ldap-lib=${LOCALBASE}/lib \
--with-ldap
LIB_DEPENDS+= lber,ldap::databases/openldap
WANTLIB+= asn1 com_err crypto gssapi krb5 sasl2 ssl
.endif
MT?=
.if ${FLAVOR:L:Mmt}
MT=-mt

View File

@ -1 +1,5 @@
The APR-util provides a number of helpful abstractions on top of APR.
Flavors:
mt - Enable threading support
ldap - Enable LDAP support