sasl2 WANTLIB only for ldap FLAVOR. Bump PKGNAME.

ok mbalmer@
This commit is contained in:
bernd 2005-11-14 12:46:04 +00:00
parent 593c44e7a2
commit 2179322149

View File

@ -1,8 +1,8 @@
# $OpenBSD: Makefile,v 1.21 2005/11/13 18:48:45 bernd Exp $
# $OpenBSD: Makefile,v 1.22 2005/11/14 12:46:04 bernd Exp $
COMMENT= "jabber server"
DISTNAME= jabberd-2.0s9
PKGNAME= ${DISTNAME}p2
PKGNAME= ${DISTNAME}p3
CATEGORIES= net
HOMEPAGE= http://jabberd.jabberstudio.org/2/
MAINTAINER= Gerardo Santana Gomez Garrido <santana@openbsd.org.mx>
@ -12,7 +12,7 @@ PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c crypto ssl sasl2
WANTLIB= c crypto ssl
MASTER_SITES= http://files.jabberstudio.org/jabberd2/
@ -64,6 +64,7 @@ CONFIGURE_ARGS+= --disable-db
.if ${FLAVOR:L:Mldap}
LIB_DEPENDS+= ldap.8,lber.8:openldap-*->=2.3:databases/openldap
CONFIGURE_ARGS+= --enable-ldap
WANTLIB+= sasl2
.else
CONFIGURE_ARGS+= --disable-ldap
.endif