aboutsummaryrefslogtreecommitdiffstats
path: root/lang/perl5.20/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lang/perl5.20/Makefile')
-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}