From 4b07f0329bb8cb4cd36d887bc804d953520a5914 Mon Sep 17 00:00:00 2001 From: Satoshi Asami Date: Sat, 2 Jan 1999 00:12:21 +0000 Subject: Change *_DEPENDS on lang/perl5 to USE_PERL5 so we won't have any dependencies to perl5 in -current. This might cause some unwanted perl5 installations on -stable (if it was originally RUN_DEPENDS, perl5 will now be installed during build too, etc.), but its lifetime is limited anyway. --- security/ssh/Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'security/ssh/Makefile') diff --git a/security/ssh/Makefile b/security/ssh/Makefile index bc1cdd8a6db3..6649c29ff18a 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.70 1998/10/08 13:11:52 asami Exp $ +# $Id: Makefile,v 1.71 1998/10/30 06:15:18 obrien Exp $ # # Maximal ssh package requires YES values for # USE_PERL, USE_TCPWRAP @@ -128,13 +128,11 @@ post-install: chmod 751 ${PREFIX}/etc/rc.d/sshd.sh; \ fi -.include - -# Following stuff must be after to expand exists() properly +.include .if defined(USE_PERL) && ${USE_PERL} == YES || \ exists(${PERL5}) && (!defined(USE_PERL) || ${USE_PERL} != NO) -BUILD_DEPENDS+= perl${PERL_VERSION}:${PORTSDIR}/lang/perl5 +USE_PERL5= yes CONFIGURE_ENV+= PERL=${PERL5} .else CONFIGURE_ENV+= PERL=/replace_it_with_PERL_path @@ -153,3 +151,5 @@ LIB_DEPENDS+= wrap.7:${PORTSDIR}/security/tcp_wrapper .if defined(USE_SOCKS) && ${USE_SOCKS} == YES CONFIGURE_ARGS+= --with-socks="-L${PREFIX}/lib -lsocks5" --with-socks5 .endif + +.include -- cgit v1.2.3