mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
Use ${PERL_VERSION} on perl version.
Reminded by: asami
This commit is contained in:
parent
603682ce41
commit
70905e2b13
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=12581
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user