Add the perl path to CONFIGURE_ENV here, so that we don't have to fix
every package using perl.
This commit is contained in:
parent
508d6d88a6
commit
472c0e0fe2
1 changed files with 2 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: bsd.pkg.mk,v 1.1551 2004/12/29 23:19:42 minskim Exp $
|
||||
# $NetBSD: bsd.pkg.mk,v 1.1552 2004/12/31 13:13:56 minskim Exp $
|
||||
#
|
||||
# This file is in the public domain.
|
||||
#
|
||||
|
@ -316,6 +316,7 @@ ${_PERL5_DEPMETHOD}+= ${_PERL5_DEPENDS}:${PERL5_PKGSRCDIR}
|
|||
.endif
|
||||
|
||||
.if defined(USE_PERL5) && (${USE_PERL5} == "run")
|
||||
CONFIGURE_ENV+= PERL=${PERL5:Q}
|
||||
. if !defined(PERL5_SITELIB) || !defined(PERL5_SITEARCH) || !defined(PERL5_ARCHLIB)
|
||||
. if exists(${PERL5})
|
||||
PERL5_SITELIB!= eval `${PERL5} -V:installsitelib 2>/dev/null`; \
|
||||
|
|
Loading…
Reference in a new issue