diff options
author | jlam <jlam> | 2002-03-07 21:50:40 +0000 |
---|---|---|
committer | jlam <jlam> | 2002-03-07 21:50:40 +0000 |
commit | bdd8c919ed2c8ea657dc21c2c0185ac3eda3f7df (patch) | |
tree | fd59063d72e024df5d45a5b9eb9f08d8b66abbbf | |
parent | 3b2f6fc570eb206ebad4773b93901b49198044f5 (diff) | |
download | pkgsrc-bdd8c919ed2c8ea657dc21c2c0185ac3eda3f7df.tar.gz |
If USE_SASL == YES, then the openldap libraries are linked against
libsasl.so, so include cyrus-sasl/buildlink.mk to pull in the SASL
libraries into ${BUILDLINK_DIR}.
-rw-r--r-- | databases/openldap/buildlink.mk | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/databases/openldap/buildlink.mk b/databases/openldap/buildlink.mk index c35d55de39f..3a61a5fb797 100644 --- a/databases/openldap/buildlink.mk +++ b/databases/openldap/buildlink.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink.mk,v 1.4 2002/01/31 05:06:55 jlam Exp $ +# $NetBSD: buildlink.mk,v 1.5 2002/03/07 21:50:40 jlam Exp $ # # This Makefile fragment is included by packages that use openldap. # @@ -42,6 +42,10 @@ USE_PTHREAD= native .include "../../mk/pthread.buildlink.mk" +.if defined(USE_SASL) && (${USE_SASL} == "YES") +.include "../../security/cyrus-sasl/buildlink.mk" +.endif + BUILDLINK_TARGETS.openldap= openldap-buildlink BUILDLINK_TARGETS+= ${BUILDLINK_TARGETS.openldap} |