diff options
author | xtraeme <xtraeme> | 2004-12-28 04:44:56 +0000 |
---|---|---|
committer | xtraeme <xtraeme> | 2004-12-28 04:44:56 +0000 |
commit | 05839155176cf62755461b01b1bce7b5ec3e23c5 (patch) | |
tree | bae60cf07ec1e5c9e73a4cc0f45b9ef9b87f5f56 /textproc/libxslt | |
parent | dfff49bfddc855cbbe631408bd8901351b439164 (diff) | |
download | pkgsrc-05839155176cf62755461b01b1bce7b5ec3e23c5.tar.gz |
If the crypto option has not been enabled, don't depend on libgcrypt,
make it conditionally.
Diffstat (limited to 'textproc/libxslt')
-rw-r--r-- | textproc/libxslt/buildlink3.mk | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/textproc/libxslt/buildlink3.mk b/textproc/libxslt/buildlink3.mk index 8cc6e318d0b..5a66246862f 100644 --- a/textproc/libxslt/buildlink3.mk +++ b/textproc/libxslt/buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink3.mk,v 1.7 2004/10/03 00:18:20 tv Exp $ +# $NetBSD: buildlink3.mk,v 1.8 2004/12/28 04:44:56 xtraeme Exp $ BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ LIBXSLT_BUILDLINK3_MK:= ${LIBXSLT_BUILDLINK3_MK}+ @@ -16,8 +16,13 @@ BUILDLINK_RECOMMENDED.libxslt+= libxslt>=1.1.10nb1 BUILDLINK_PKGSRCDIR.libxslt?= ../../textproc/libxslt .endif # LIBXSLT_BUILDLINK3_MK +PKG_OPTIONS.libxslt?= ${PKG_DEFAULT_OPTIONS} + +.if !empty(PKG_OPTIONS.libxslt:Mcrypto) +. include "../../security/libgcrypt/buildlink3.mk" +.endif + .include "../../lang/perl5/buildlink3.mk" -.include "../../security/libgcrypt/buildlink3.mk" .include "../../textproc/libxml2/buildlink3.mk" BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} |