aboutsummaryrefslogtreecommitdiff
path: root/math/sympow
diff options
context:
space:
mode:
authorGleb Popov <arrowd@FreeBSD.org>2020-06-18 19:24:51 +0000
committerGleb Popov <arrowd@FreeBSD.org>2020-06-18 19:24:51 +0000
commit6739d51a3ffabd11dbedffa7f3f0e940fa9d346a (patch)
tree3cabc85f449ae1c9ddfc16a5abce7753599bf9b8 /math/sympow
parent8f62144e6744a5ad620e527a519639ea0caa95ca (diff)
downloadports-6739d51a3ffabd11dbedffa7f3f0e940fa9d346a.tar.gz
ports-6739d51a3ffabd11dbedffa7f3f0e940fa9d346a.zip
math/sympow: Fix build by setting HOME env var to WRKDIR.
Notes
Notes: svn path=/head/; revision=539561
Diffstat (limited to 'math/sympow')
-rw-r--r--math/sympow/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/math/sympow/Makefile b/math/sympow/Makefile
index de88f93f82f8..5679eae17dd9 100644
--- a/math/sympow/Makefile
+++ b/math/sympow/Makefile
@@ -27,8 +27,9 @@ HAS_CONFIGURE= yes
CONFIGURE_SCRIPT=Configure
post-build:
+ mkdir -p ${WRKDIR}/home
for file in `${LS} ${WRKSRC}/datafiles/*.txt`; do \
- ${WRKSRC}/sympow -txt2bin "`${GREP} -c AT $${file}`" <$${file} $${file%txt}bin; \
+ env HOME=${WRKDIR}/home ${WRKSRC}/sympow -txt2bin "`${GREP} -c AT $${file}`" <$${file} $${file%txt}bin; \
done
post-install: