aboutsummaryrefslogtreecommitdiffstats
path: root/security/ssh2/Makefile
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1996-03-24 07:36:32 +0800
committerache <ache@FreeBSD.org>1996-03-24 07:36:32 +0800
commit2703bbf4acc3353e16a583edacfab5d4b3097f65 (patch)
tree7b8637a0844c3b2dcd352f990a441de24296a4a4 /security/ssh2/Makefile
parent27ad951f57bb8ce58d30a0caa7f378b3474b383b (diff)
downloadfreebsd-ports-gnome-2703bbf4acc3353e16a583edacfab5d4b3097f65.tar.gz
freebsd-ports-gnome-2703bbf4acc3353e16a583edacfab5d4b3097f65.tar.zst
freebsd-ports-gnome-2703bbf4acc3353e16a583edacfab5d4b3097f65.zip
Move perl depends under USE_PERL
Diffstat (limited to 'security/ssh2/Makefile')
-rw-r--r--security/ssh2/Makefile14
1 files changed, 12 insertions, 2 deletions
diff --git a/security/ssh2/Makefile b/security/ssh2/Makefile
index 6fc50ef4ae62..eca51694af64 100644
--- a/security/ssh2/Makefile
+++ b/security/ssh2/Makefile
@@ -3,14 +3,16 @@
# Date created: 30 Jul 1995
# Whom: torstenb@FreeBSD.ORG
#
-# $Id: Makefile,v 1.17 1996/03/21 14:41:19 ache Exp $
+# $Id: Makefile,v 1.18 1996/03/21 14:44:48 ache Exp $
+#
+# Maximal ssh package requires YES values for
+# USE_PERL, USE_WISH, USE_TCPWRAP
#
DISTNAME= ssh-1.2.13
CATEGORIES= security net
MASTER_SITES= ftp://ftp.cs.hut.fi/pub/ssh/snapshots/
LIB_DEPENDS= z\\.1\\.:${PORTSDIR}/devel/libz
-BUILD_DEPENDS+= perl5.002:${PORTSDIR}/lang/perl5
MAINTAINER= torstenb@FreeBSD.ORG
@@ -93,11 +95,19 @@ BUILD_DEPENDS+= wish4.0:${PORTSDIR}/x11/tk4
CONFIGURE_ENV+= WISH=${PREFIX}/bin/wish4.0
.else
BUILD_DEPENDS+= wish:${PORTSDIR}/x11/tk
+CONFIGURE_ENV+= WISH=${PREFIX}/bin/wish
.endif
.else
CONFIGURE_ENV+= WISH=/replace_it_with_WISH_path
.endif
+.if defined(USE_PERL) && ${USE_PERL} == YES
+BUILD_DEPENDS+= perl5.002:${PORTSDIR}/lang/perl5
+CONFIGURE_ENV+= PERL=${PREFIX}/bin/perl5.002
+.else
+CONFIGURE_ENV+= PERL=/replace_it_with_PERL_path
+.endif
+
# Include tcp-wrapper support (call remote identd)
.if defined(USE_TCPWRAP) && ${USE_TCPWRAP} == YES || \
exists(${PREFIX}/lib/libwrap.a) && \