fix sasl flavor. ok jakob@
This commit is contained in:
parent
2c63dc60da
commit
13e1b54e24
@ -1,4 +1,4 @@
|
|||||||
# $OpenBSD: Makefile,v 1.35 2003/12/26 10:44:10 jakob Exp $
|
# $OpenBSD: Makefile,v 1.36 2004/02/17 01:23:03 kevlo Exp $
|
||||||
|
|
||||||
COMMENT= "Open source LDAP software (client)"
|
COMMENT= "Open source LDAP software (client)"
|
||||||
COMMENT-server= "Open source LDAP software (server)"
|
COMMENT-server= "Open source LDAP software (server)"
|
||||||
@ -76,7 +76,6 @@ CONFIGURE_ARGS+= --with-cyrus-sasl \
|
|||||||
--enable-spasswd
|
--enable-spasswd
|
||||||
LIB_DEPENDS+= sasl2::security/cyrus-sasl2
|
LIB_DEPENDS+= sasl2::security/cyrus-sasl2
|
||||||
CPPFLAGS+= -I${LOCALBASE}/include/sasl
|
CPPFLAGS+= -I${LOCALBASE}/include/sasl
|
||||||
LIBS+= -lkrb
|
|
||||||
.else
|
.else
|
||||||
CONFIGURE_ARGS+= --without-cyrus-sasl \
|
CONFIGURE_ARGS+= --without-cyrus-sasl \
|
||||||
--disable-spasswd
|
--disable-spasswd
|
||||||
@ -102,6 +101,11 @@ RUN_DEPENDS= openldap:openldap-client-${VERSION}:databases/openldap
|
|||||||
pre-build:
|
pre-build:
|
||||||
@cd ${WRKBUILD}; ${MAKE_PROGRAM} depend
|
@cd ${WRKBUILD}; ${MAKE_PROGRAM} depend
|
||||||
|
|
||||||
|
post-patch:
|
||||||
|
.if ${FLAVOR:L:Msasl}
|
||||||
|
perl -pi -e 's,KRB5_LIBS=,KRB5_LIBS="-lgssapi -lkrb5 -lasn1 -lcom_err",g' ${WRKSRC}/configure
|
||||||
|
.endif
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/openldap
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/openldap
|
||||||
${INSTALL_DATA} ${DESTDIR}${SYSCONFDIR}/openldap/*.conf \
|
${INSTALL_DATA} ${DESTDIR}${SYSCONFDIR}/openldap/*.conf \
|
||||||
|
Loading…
Reference in New Issue
Block a user