aboutsummaryrefslogtreecommitdiffstats
path: root/lang/perl5.20
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2014-11-27 23:19:51 +0800
committermat <mat@FreeBSD.org>2014-11-27 23:19:51 +0800
commit1e99883bc093b1c4c7e3dc3d2bb6ae8b9b8c4e8e (patch)
tree12f238bba854a82f6678df8fb31e5de7772ec356 /lang/perl5.20
parentf7da1c99160ff21eb86095edc3830c53c0bcd02d (diff)
downloadfreebsd-ports-graphics-1e99883bc093b1c4c7e3dc3d2bb6ae8b9b8c4e8e.tar.gz
freebsd-ports-graphics-1e99883bc093b1c4c7e3dc3d2bb6ae8b9b8c4e8e.tar.zst
freebsd-ports-graphics-1e99883bc093b1c4c7e3dc3d2bb6ae8b9b8c4e8e.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
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 986eedde4e2..b102aa897ac 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}