pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/apache22 Fix PLIST when LDAP support is activated,...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/90bf521079a6
branches:  trunk
changeset: 392045:90bf521079a6
user:      seb <seb%pkgsrc.org@localhost>
date:      Fri Apr 24 11:21:16 2009 +0000

description:
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.

diffstat:

 www/apache22/Makefile |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (29 lines):

diff -r fd3693982280 -r 90bf521079a6 www/apache22/Makefile
--- a/www/apache22/Makefile     Fri Apr 24 10:19:15 2009 +0000
+++ b/www/apache22/Makefile     Fri Apr 24 11:21:16 2009 +0000
@@ -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 @@
 
 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}



Home | Main Index | Thread Index | Old Index