summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2008-03-01 14:14:20 +0000
committerjoerg <joerg@pkgsrc.org>2008-03-01 14:14:20 +0000
commit2a751da4f89dd11d788fac83ffaebb168160378d (patch)
tree52963baec150a029fa5761544d971ed12b7da2de
parent86070dc6c83e74eb1a5d1b4ce434253d57f7c5eb (diff)
downloadpkgsrc-2a751da4f89dd11d788fac83ffaebb168160378d.tar.gz
When CUPS is compiled with Kerberos support, buildlink that as well.
-rw-r--r--print/cups/buildlink3.mk9
1 files changed, 8 insertions, 1 deletions
diff --git a/print/cups/buildlink3.mk b/print/cups/buildlink3.mk
index 1543316dbfa..9ae87773968 100644
--- a/print/cups/buildlink3.mk
+++ b/print/cups/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.19 2008/01/18 05:08:53 tnn Exp $
+# $NetBSD: buildlink3.mk,v 1.20 2008/03/01 14:14:20 joerg Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
CUPS_BUILDLINK3_MK:= ${CUPS_BUILDLINK3_MK}+
@@ -17,6 +17,13 @@ BUILDLINK_ABI_DEPENDS.cups+= cups>=1.2.12nb3
BUILDLINK_PKGSRCDIR.cups?= ../../print/cups
.endif # CUPS_BUILDLINK3_MK
+pkgbase := cups
+.include "../../mk/pkg-build-options.mk"
+
+.if !empty(PKG_BUILD_OPTIONS.cups:Mkerberos)
+.include "../../mk/krb5.buildlink3.mk"
+.endif
+
.include "../../graphics/png/buildlink3.mk"
.include "../../graphics/tiff/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"