summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2005-11-07 16:43:49 +0000
committerjlam <jlam@pkgsrc.org>2005-11-07 16:43:49 +0000
commitbedad26fa44ac1d30e23289a51a9cf7b3987c7bf (patch)
tree71e3f30ac5060783dfc2913efa91a1f8bf16b522 /security
parentc2724a45bd7665971efa45df6f634ac46dddbf0b (diff)
downloadpkgsrc-bedad26fa44ac1d30e23289a51a9cf7b3987c7bf.tar.gz
Only install the authldap.schema file if the "ldap" package option is
specified.
Diffstat (limited to 'security')
-rw-r--r--security/courier-authlib/Makefile3
-rw-r--r--security/courier-authlib/options.mk3
2 files changed, 3 insertions, 3 deletions
diff --git a/security/courier-authlib/Makefile b/security/courier-authlib/Makefile
index ae1da178899..c6d6a3d0879 100644
--- a/security/courier-authlib/Makefile
+++ b/security/courier-authlib/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2005/08/11 00:03:16 jlam Exp $
+# $NetBSD: Makefile,v 1.14 2005/11/07 16:43:49 jlam Exp $
.include "Makefile.common"
@@ -91,7 +91,6 @@ post-install: ${POST_INSTALL_TARGETS}
post-install-common:
${INSTALL_DATA_DIR} ${EGDIR}
${INSTALL_SCRIPT} ${WRKSRC}/makedat/makedat ${PREFIX}/bin
- ${INSTALL_DATA} ${WRKSRC}/authldap.schema ${EGDIR}
${INSTALL_SCRIPT} ${WRKSRC}/sysconftool ${PREFIX}/sbin
${INSTALL_DATA_DIR} ${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/INSTALL.html ${DOCDIR}
diff --git a/security/courier-authlib/options.mk b/security/courier-authlib/options.mk
index 8dfa5fbcc3a..a9ddc9a3a70 100644
--- a/security/courier-authlib/options.mk
+++ b/security/courier-authlib/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.6 2005/08/11 00:03:16 jlam Exp $
+# $NetBSD: options.mk,v 1.7 2005/11/07 16:43:49 jlam Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.courier-authlib
PKG_SUPPORTED_OPTIONS= pam bdb ldap mysql pgsql
@@ -75,6 +75,7 @@ post-install-ldap:
${CHOWN} ${SHAREOWN}:${SHAREGRP} ${EGDIR}/authldaprc.dist
${CHMOD} ${SHAREMODE} ${EGDIR}/authldaprc.dist
${INSTALL_DATA} ${WRKSRC}/README.ldap ${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/authldap.schema ${EGDIR}
.else
CONFIGURE_ARGS+= --without-authldap
.endif