Subject: pkg/10967: bsd.pkg.mk: always IGNORE'd if MKCRYPTO != YES
To: None <gnats-bugs@gnats.netbsd.org>
From: None <nakagawa@kansai.oki.co.jp>
List: netbsd-bugs
Date: 09/06/2000 23:05:11
>Number: 10967
>Category: pkg
>Synopsis: bsd.pkg.mk: always IGNORE'd if MKCRYPTO != YES
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Sep 06 23:06:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator: Satoshi Nakagawa
>Release:
>Organization:
>Environment:
>Description:
>How-To-Repeat:
not set MKCRYPTO explicitly
>Fix:
Index: bsd.pkg.mk
===================================================================
RCS file: /cvsroot/pkgsrc/mk/bsd.pkg.mk,v
retrieving revision 1.564
diff -u -r1.564 bsd.pkg.mk
--- bsd.pkg.mk 2000/09/06 20:28:32 1.564
+++ bsd.pkg.mk 2000/09/07 05:54:37
@@ -1003,9 +1003,9 @@
.if defined(BROKEN)
IGNORE+= "${PKGNAME} is marked as broken:" ${BROKEN:Q}
.endif
-.if defined(MKCRYPTO) && ${MKCRYPTO} != "YES"
+.if defined(MKCRYPTO) && ${MKCRYPTO} == "no"
_crypto:= ${CATEGORIES:Mcrypto}
-. if defined(_crypto)
+. if !empty(_crypto)
IGNORE+= "${PKGNAME} may not be built, because it contains strong cryptography"
. endif
.endif # MKCRYPTO != YES
>Release-Note:
>Audit-Trail:
>Unformatted: