summaryrefslogtreecommitdiff
path: root/security/ssh
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2000-01-17 16:17:58 +0000
committerjlam <jlam@pkgsrc.org>2000-01-17 16:17:58 +0000
commit25bcac82376ea11c086e2977bd05d5d86768eaff (patch)
tree64d6d3c0b2d4d747e49b73f7034a739cb2a7f1f4 /security/ssh
parent4e8f05bdd86d6d1e40a52bd13edf1cf294a66ccc (diff)
downloadpkgsrc-25bcac82376ea11c086e2977bd05d5d86768eaff.tar.gz
Use new variable USE_IDEA, which is YES/NO, and mention that SSH_DONT_USE_IDEA
is deprecated. Defaults to USE_IDEA=YES to match current default build.
Diffstat (limited to 'security/ssh')
-rw-r--r--security/ssh/Makefile18
1 files changed, 13 insertions, 5 deletions
diff --git a/security/ssh/Makefile b/security/ssh/Makefile
index 468f46d198d..24405b9eb0d 100644
--- a/security/ssh/Makefile
+++ b/security/ssh/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.69 1999/12/28 03:53:06 kim Exp $
+# $NetBSD: Makefile,v 1.70 2000/01/17 16:17:58 jlam Exp $
# FreeBSD Id: Makefile,v 1.47 1997/11/10 22:04:42 dima Exp
#
@@ -54,10 +54,18 @@ CONFIGURE_ARGS+= --with-secureid
CONFIGURE_ARGS+= --with-rsh=${SSH_RSHPATH}
.endif
-# Don't use IDEA. IDEA can be freely used for non-commercial use. However,
-# commercial use may require a license in a number of countries
-# Warning: untested !
+# By default, use IDEA. IDEA can be freely used for non-commercial use.
+# However, commercial use may require a license in a number of countries.
+#
+USE_IDEA?= YES
+
+# Handle deprecated option SSH_DONT_USE_IDEA.
+#
.if defined(SSH_DONT_USE_IDEA) && ${SSH_DONT_USE_IDEA} == YES
+USE_IDEA= NO
+.endif
+
+.if ${USE_IDEA} != "YES"
CONFIGURE_ARGS+= --without-idea
.endif
@@ -146,7 +154,7 @@ fetch-depends:
@${ECHO} to YES. Users outside the USA MUST set this variable to
@${ECHO} NO. Licensees may choose -- NO is faster.
@${ECHO}
- @${ECHO} You may also want to set SSH_DONT_USE_IDEA to YES if this program
+ @${ECHO} You may also want to set USE_IDEA to NO if this program
@${ECHO} will be used for a commercial purpose. There are other
@${ECHO} configure options\; look at the pkg Makefile for more info.
@${FALSE}