diff options
-rw-r--r-- | Makefile | 3 | ||||
-rw-r--r-- | crypto/Makefile | 6 | ||||
-rw-r--r-- | mk/bsd.pkg.mk | 31 | ||||
-rw-r--r-- | mk/mk.conf.example | 7 |
4 files changed, 34 insertions, 13 deletions
@@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.35 2000/05/12 18:42:22 sakamoto Exp $ +# $NetBSD: Makefile,v 1.36 2000/09/06 20:28:32 fredb Exp $ # FreeBSD Id: Makefile,v 1.35 1997/08/19 07:10:01 fenner Exp # @@ -18,6 +18,7 @@ SUBDIR += cad SUBDIR += comms SUBDIR += converters SUBDIR += cross +SUBDIR += crypto SUBDIR += databases SUBDIR += devel SUBDIR += editors diff --git a/crypto/Makefile b/crypto/Makefile new file mode 100644 index 00000000000..a6b110df9b8 --- /dev/null +++ b/crypto/Makefile @@ -0,0 +1,6 @@ +# $NetBSD: Makefile,v 1.1 2000/09/06 20:28:32 fredb Exp $ +# + + SUBDIR += # Nothing here! + +.include "../mk/bsd.pkg.subdir.mk" diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk index 243c3232588..345a4b5f4bc 100644 --- a/mk/bsd.pkg.mk +++ b/mk/bsd.pkg.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.mk,v 1.563 2000/09/06 03:58:23 jlam Exp $ +# $NetBSD: bsd.pkg.mk,v 1.564 2000/09/06 20:28:32 fredb Exp $ # # This file is in the public domain. # @@ -956,21 +956,24 @@ ACCEPTABLE_LICENSES= ${ACCEPTABLE_LICENCES} # Many ways to disable a package. # # If we're in BATCH mode and the package is interactive, or we're -# in interactive mode and the package is non-interactive, skip all -# the important targets. The reason we have two modes is that -# one might want to leave a build in BATCH mode running -# overnight, then come back in the morning and do _only_ the -# interactive ones that required your intervention. -# -# Don't attempt to build packages that require Motif if you don't -# have Motif. +# in interactive mode and the package is non-interactive, skip +# all the important targets. The reason we have two modes is that +# one might want to leave a build in BATCH mode running overnight, +# then come back in the morning and do _only_ the interactive ones +# that required your intervention. # # Ignore packages that can't be resold if building for a CDROM. # -# Don't build a package if it's restricted and we don't want to get -# into that. +# Don't build a package if it's restricted and we don't want to +# get into that. +# +# Don't attempt to build packages against X if we don't have X. # # Don't build a package if it's broken. +# +# If so specified, for whatever reason, don't build any packages +# from the "crypto" category +# ################################################################ .if !defined(NO_IGNORE) @@ -1000,6 +1003,12 @@ IGNORE+= "${PKGNAME} uses X11, but ${X11BASE} not found" .if defined(BROKEN) IGNORE+= "${PKGNAME} is marked as broken:" ${BROKEN:Q} .endif +.if defined(MKCRYPTO) && ${MKCRYPTO} != "YES" +_crypto:= ${CATEGORIES:Mcrypto} +. if defined(_crypto) +IGNORE+= "${PKGNAME} may not be built, because it contains strong cryptography" +. endif +.endif # MKCRYPTO != YES .if defined(LICENSE) . ifdef ACCEPTABLE_LICENSES diff --git a/mk/mk.conf.example b/mk/mk.conf.example index 05e037de728..dea41c9d667 100644 --- a/mk/mk.conf.example +++ b/mk/mk.conf.example @@ -1,4 +1,4 @@ -# $NetBSD: mk.conf.example,v 1.150 2000/09/06 18:39:24 fredb Exp $ +# $NetBSD: mk.conf.example,v 1.151 2000/09/06 20:28:33 fredb Exp $ # # Sample /etc/mk.conf file, which can be used to set specific values @@ -30,6 +30,11 @@ # Possible: defined, not defined # Default: not defined +#MKCRYPTO= no +# Don't fetch, build or install any package in the "crypto" category. +# Possible: not defined, YES, defined +# Default: not defined (same as YES) + #OBJMACHINE= # use machine-specific object directories, e.g. work.i386, work.sparc # Possible: defined, not defined |