summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-01-21 13:09:31 +0000
committerjlam <jlam@pkgsrc.org>2004-01-21 13:09:31 +0000
commit85513cb2024dee539ddf011517c03071e77afc6f (patch)
tree4cece6a33884b3cd43edce2771a76ea807fe860c /mk
parent998ffbfea955cdcd31d473fddd2060fd32ecf9a3 (diff)
downloadpkgsrc-85513cb2024dee539ddf011517c03071e77afc6f.tar.gz
Packages that use Kerberos are automatically categorized as restricted
packages.
Diffstat (limited to 'mk')
-rw-r--r--mk/krb5.buildlink3.mk17
1 files changed, 12 insertions, 5 deletions
diff --git a/mk/krb5.buildlink3.mk b/mk/krb5.buildlink3.mk
index eb4f0697402..1be5388a715 100644
--- a/mk/krb5.buildlink3.mk
+++ b/mk/krb5.buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: krb5.buildlink3.mk,v 1.2 2004/01/10 19:50:57 jlam Exp $
+# $NetBSD: krb5.buildlink3.mk,v 1.3 2004/01/21 13:09:31 jlam Exp $
#
# This Makefile fragment is meant to be included by packages that
# require a Kerberos 5 implementation. krb5.buildlink3.mk will:
@@ -81,12 +81,19 @@ BUILD_DEFS+= KRB5_TYPE
. if ${KRB5_TYPE} == "none"
PKG_FAIL_REASON= "No acceptable Kerberos 5 implementation found."
-. elif ${KRB5_TYPE} == "heimdal"
+. else
+#
+# Packages that use Kerberos are automatically categorized as restricted
+# packages.
+#
+RESTRICTED?= uses Kerberos encryption code
+. if ${KRB5_TYPE} == "heimdal"
KRB5BASE= ${BUILDLINK_PREFIX.heimdal}
-. include "../../security/heimdal/buildlink3.mk"
-. elif ${KRB5_TYPE} == "mit-krb5"
+. include "../../security/heimdal/buildlink3.mk"
+. elif ${KRB5_TYPE} == "mit-krb5"
KRB5BASE= ${BUILDLINK_PREFIX.mit-krb5}
-. include "../../security/mit-krb5/buildlink3.mk"
+. include "../../security/mit-krb5/buildlink3.mk"
+. endif
. endif
BUILD_DEFS+= KRB5BASE