diff options
-rw-r--r-- | security/ssh/Makefile | 8 | ||||
-rw-r--r-- | security/ssh2/Makefile | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/security/ssh/Makefile b/security/ssh/Makefile index e1ed15e87e0c..123ad708cf68 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.59 1998/08/01 22:24:55 dima Exp $ +# $Id: Makefile,v 1.60 1998/08/17 10:42:38 vanilla Exp $ # # Maximal ssh package requires YES values for # USE_PERL, USE_TCPWRAP @@ -132,10 +132,10 @@ post-install: # Following stuff must be after <bsd.port.mk> to expand exists() properly .if defined(USE_PERL) && ${USE_PERL} == YES || \ - exists(${PREFIX}/bin/perl5.00502) && \ + exists(${PREFIX}/bin/perl${PERL_VERSION}) && \ (!defined(USE_PERL) || ${USE_PERL} != NO) -BUILD_DEPENDS+= perl5.00502:${PORTSDIR}/lang/perl5 -CONFIGURE_ENV+= PERL=${PREFIX}/bin/perl5.00502 +BUILD_DEPENDS+= perl${PERL_VERSION}:${PORTSDIR}/lang/perl5 +CONFIGURE_ENV+= PERL=${PREFIX}/bin/perl${PERL_VERSION} .else CONFIGURE_ENV+= PERL=/replace_it_with_PERL_path .endif diff --git a/security/ssh2/Makefile b/security/ssh2/Makefile index e1ed15e87e0c..123ad708cf68 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.59 1998/08/01 22:24:55 dima Exp $ +# $Id: Makefile,v 1.60 1998/08/17 10:42:38 vanilla Exp $ # # Maximal ssh package requires YES values for # USE_PERL, USE_TCPWRAP @@ -132,10 +132,10 @@ post-install: # Following stuff must be after <bsd.port.mk> to expand exists() properly .if defined(USE_PERL) && ${USE_PERL} == YES || \ - exists(${PREFIX}/bin/perl5.00502) && \ + exists(${PREFIX}/bin/perl${PERL_VERSION}) && \ (!defined(USE_PERL) || ${USE_PERL} != NO) -BUILD_DEPENDS+= perl5.00502:${PORTSDIR}/lang/perl5 -CONFIGURE_ENV+= PERL=${PREFIX}/bin/perl5.00502 +BUILD_DEPENDS+= perl${PERL_VERSION}:${PORTSDIR}/lang/perl5 +CONFIGURE_ENV+= PERL=${PREFIX}/bin/perl${PERL_VERSION} .else CONFIGURE_ENV+= PERL=/replace_it_with_PERL_path .endif |