pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/security/cyrus-saslauthd Don't install the LDAP_SASLAU...
details: https://anonhg.NetBSD.org/pkgsrc/rev/a9fe908bd84c
branches: trunk
changeset: 465985:a9fe908bd84c
user: jlam <jlam%pkgsrc.org@localhost>
date: Fri Jan 09 20:40:05 2004 +0000
description:
Don't install the LDAP_SASLAUTHD documentation file unless we are building
with support for LDAP.
diffstat:
security/cyrus-saslauthd/Makefile | 6 +++++-
security/cyrus-saslauthd/PLIST.ldap | 3 +++
2 files changed, 8 insertions(+), 1 deletions(-)
diffs (44 lines):
diff -r 2c91fb2169b7 -r a9fe908bd84c security/cyrus-saslauthd/Makefile
--- a/security/cyrus-saslauthd/Makefile Fri Jan 09 20:35:03 2004 +0000
+++ b/security/cyrus-saslauthd/Makefile Fri Jan 09 20:40:05 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2004/01/09 19:44:10 jlam Exp $
+# $NetBSD: Makefile,v 1.2 2004/01/09 20:40:05 jlam Exp $
DISTNAME= cyrus-sasl-2.1.17
PKGNAME= ${DISTNAME:S/sasl/saslauthd/}
@@ -19,6 +19,7 @@
USE_BUILDLINK3= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
+PLIST_SRC= ${PKGDIR}/PLIST
BUILD_DEFS+= USE_PAM USE_LDAP SASL_USE_GSSAPI
@@ -37,6 +38,7 @@
. include "../../security/openssl/buildlink3.mk"
CONFIGURE_ARGS+= --with-ldap=${BUILDLINK_PREFIX.openldap}
CONFIGURE_ARGS+= --with-openssl=${SSLBASE}
+PLIST_SRC+= ${PKGDIR}/PLIST.ldap
.endif
.if defined(SASL_USE_GSSAPI) && !empty(SASL_USE_GSSAPI:M[yY][eE][sS])
@@ -60,9 +62,11 @@
${MV} -f $$f.new $$f; \
done
+.if defined(USE_LDAP)
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/cyrus-saslauthd
${INSTALL_DATA} ${WRKSRC}/LDAP_SASLAUTHD \
${PREFIX}/share/examples/cyrus-saslauthd
+.endif
.include "../../mk/bsd.pkg.mk"
diff -r 2c91fb2169b7 -r a9fe908bd84c security/cyrus-saslauthd/PLIST.ldap
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/cyrus-saslauthd/PLIST.ldap Fri Jan 09 20:40:05 2004 +0000
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST.ldap,v 1.1 2004/01/09 20:40:05 jlam Exp $
+share/examples/cyrus-saslauthd/LDAP_SASLAUTHD
+@dirrm share/examples/cyrus-saslauthd
Home |
Main Index |
Thread Index |
Old Index