aboutsummaryrefslogtreecommitdiff
path: root/lang/perl5.20
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2014-11-27 15:19:51 +0000
committerMathieu Arnold <mat@FreeBSD.org>2014-11-27 15:19:51 +0000
commit3fd082fa72472c9407bec0cd6aebdaee28e2bb2d (patch)
tree12f238bba854a82f6678df8fb31e5de7772ec356 /lang/perl5.20
parentb51d045bca4e3811ba9e464a06067d867028c3e1 (diff)
downloadports-3fd082fa72472c9407bec0cd6aebdaee28e2bb2d.tar.gz
ports-3fd082fa72472c9407bec0cd6aebdaee28e2bb2d.zip
/usr/bin/env is in SETENV, not ENV, and sometime, ENV=$USER/.shrc, which of
course, won't work. Noticed by: Richard Clayton Sponsored by: Absolight
Notes
Notes: svn path=/head/; revision=373494
Diffstat (limited to 'lang/perl5.20')
-rw-r--r--lang/perl5.20/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/lang/perl5.20/Makefile b/lang/perl5.20/Makefile
index 986eedde4e2b..b102aa897ac6 100644
--- a/lang/perl5.20/Makefile
+++ b/lang/perl5.20/Makefile
@@ -201,7 +201,7 @@ post-install:
${MKDIR} ${STAGEDIR}${SITE_ARCH}/sys
# h2ph needs perl, but perl is not installed, it's only
# staged, so, use the one in WRKDIR
- (cd /usr/include && ${ENV} LD_LIBRARY_PATH=${WRKSRC} \
+ (cd /usr/include && ${SETENV} LD_LIBRARY_PATH=${WRKSRC} \
${WRKSRC}/perl -I ${WRKSRC}/lib ${STAGEDIR}${PREFIX}/bin/h2ph \
-d ${STAGEDIR}${SITE_ARCH} *.h machine/*.h sys/*.h >/dev/null)
@${FIND} ${STAGEDIR}${SITE_ARCH} -name '*.ph' | sed -e 's|${STAGEDIR}||' >> ${TMPPLIST}