summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>1996-05-24 19:13:04 +0000
committerPeter Wemm <peter@FreeBSD.org>1996-05-24 19:13:04 +0000
commit2b76d4a8e5620fb3b152fa86d5f62649d24cc041 (patch)
tree13aa3b84784e10b951ae1a83870a42612f8b5b1e /security
parentAdd spice: export restrictions. (diff)
Update the hack for locating wish/wish4.0 to also look for wish4.1 now
that we have that one too.
Notes
Notes: svn path=/head/; revision=3123
Diffstat (limited to 'security')
-rw-r--r--security/ssh/Makefile10
-rw-r--r--security/ssh2/Makefile10
2 files changed, 14 insertions, 6 deletions
diff --git a/security/ssh/Makefile b/security/ssh/Makefile
index 5b09922876aa..6ec2039338ff 100644
--- a/security/ssh/Makefile
+++ b/security/ssh/Makefile
@@ -3,7 +3,7 @@
# Date created: 30 Jul 1995
# Whom: torstenb@FreeBSD.ORG
#
-# $Id: Makefile,v 1.20 1996/03/24 23:04:17 ache Exp $
+# $Id: Makefile,v 1.21 1996/04/17 01:07:04 asami Exp $
#
# Maximal ssh package requires YES values for
# USE_PERL, USE_WISH, USE_TCPWRAP
@@ -90,9 +90,13 @@ post-install:
# Following stuff must be after <bsd.port.mk> to expand exists() properly
.if defined(USE_WISH) && ${USE_WISH} == YES || \
- (exists(${PREFIX}/bin/wish4.0) || exists(${PREFIX}/bin/wish)) && \
+ (exists(${PREFIX}/bin/wish4.0) || exists(${PREFIX}/bin/wish4.1) || \
+ exists(${PREFIX}/bin/wish)) && \
(!defined(USE_WISH) || ${USE_WISH} != NO)
-.if exists(${PREFIX}/bin/wish4.0)
+.if exists(${PREFIX}/bin/wish4.1)
+BUILD_DEPENDS+= wish4.1:${PORTSDIR}/x11/tk41
+CONFIGURE_ENV+= WISH=${PREFIX}/bin/wish4.1
+.elif exists(${PREFIX}/bin/wish4.0)
BUILD_DEPENDS+= wish4.0:${PORTSDIR}/x11/tk4
CONFIGURE_ENV+= WISH=${PREFIX}/bin/wish4.0
.else
diff --git a/security/ssh2/Makefile b/security/ssh2/Makefile
index 5b09922876aa..6ec2039338ff 100644
--- a/security/ssh2/Makefile
+++ b/security/ssh2/Makefile
@@ -3,7 +3,7 @@
# Date created: 30 Jul 1995
# Whom: torstenb@FreeBSD.ORG
#
-# $Id: Makefile,v 1.20 1996/03/24 23:04:17 ache Exp $
+# $Id: Makefile,v 1.21 1996/04/17 01:07:04 asami Exp $
#
# Maximal ssh package requires YES values for
# USE_PERL, USE_WISH, USE_TCPWRAP
@@ -90,9 +90,13 @@ post-install:
# Following stuff must be after <bsd.port.mk> to expand exists() properly
.if defined(USE_WISH) && ${USE_WISH} == YES || \
- (exists(${PREFIX}/bin/wish4.0) || exists(${PREFIX}/bin/wish)) && \
+ (exists(${PREFIX}/bin/wish4.0) || exists(${PREFIX}/bin/wish4.1) || \
+ exists(${PREFIX}/bin/wish)) && \
(!defined(USE_WISH) || ${USE_WISH} != NO)
-.if exists(${PREFIX}/bin/wish4.0)
+.if exists(${PREFIX}/bin/wish4.1)
+BUILD_DEPENDS+= wish4.1:${PORTSDIR}/x11/tk41
+CONFIGURE_ENV+= WISH=${PREFIX}/bin/wish4.1
+.elif exists(${PREFIX}/bin/wish4.0)
BUILD_DEPENDS+= wish4.0:${PORTSDIR}/x11/tk4
CONFIGURE_ENV+= WISH=${PREFIX}/bin/wish4.0
.else