aboutsummaryrefslogtreecommitdiffstats
path: root/www/websh
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-05-08 17:17:53 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-05-08 17:17:53 +0800
commit6587129a901d443a2c67b688d6f5a7b33d56a4cc (patch)
tree31b2a7e99cf238c64c7bcca02154211527cd7107 /www/websh
parent90366d2c263455d0750981247d09d023eb7976f4 (diff)
downloadfreebsd-ports-gnome-6587129a901d443a2c67b688d6f5a7b33d56a4cc.tar.gz
freebsd-ports-gnome-6587129a901d443a2c67b688d6f5a7b33d56a4cc.tar.zst
freebsd-ports-gnome-6587129a901d443a2c67b688d6f5a7b33d56a4cc.zip
- Fix build from non-root: don't allow post-build/test to touch real $HOME
Approved by: portmgr blanket
Diffstat (limited to 'www/websh')
-rw-r--r--www/websh/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/www/websh/Makefile b/www/websh/Makefile
index a2e414811025..1d9cebd3813d 100644
--- a/www/websh/Makefile
+++ b/www/websh/Makefile
@@ -57,7 +57,7 @@ post-configure:
-e 's,-DPACKAGE_[^=]*=."[^"]*",,g' ${WRKSRC}/Makefile
post-build test:
- ${SETENV} LANG=C ${MAKE_CMD} -C ${WRKSRC} test | ${AWK} '\
+ ${SETENV} LANG=C HOME=${WRKDIR} ${MAKE_CMD} -C ${WRKSRC} test | ${AWK} '\
/Failed/ && $$NF {failed=1} \
END {exit failed} \
{print}'