Fix PLIST when LDAP support is activated, because apr-util package

has it, and shared modules option is not activated: LDAP related
modules are, like other modules, not installed as shared objects
so they should not be added to the PLIST.

Approved by MAINTAINER.
This commit is contained in:
seb 2009-04-24 11:21:16 +00:00
parent 3375ec6a4c
commit 9d2f15190d

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.41 2009/04/14 18:26:34 sno Exp $
# $NetBSD: Makefile,v 1.42 2009/04/24 11:21:16 seb Exp $
DISTNAME= httpd-2.2.11
PKGREVISION= 2
@ -98,15 +98,17 @@ DFLT_APACHE_MODULES+= cgid dav_lock proxy_ajp proxy_balancer
PLIST_SRC+= ${PKGDIR}/PLIST
.include "options.mk"
# LDAP support
PLIST_VARS+= ldap
.if !empty(PKG_BUILD_OPTIONS.apr-util:Mldap)
DFLT_APACHE_MODULES+= ldap authnz_ldap
. if !empty(PKG_OPTIONS:Mapache-shared-modules)
PLIST.ldap= yes
. endif
.endif
.include "options.mk"
APACHE_USER?= www
APACHE_GROUP?= www
PKG_GROUPS= ${APACHE_GROUP}