math/sympow: Fix build by setting HOME env var to WRKDIR.

This commit is contained in:
Gleb Popov
2020-06-18 19:24:51 +00:00
parent 8f62144e67
commit 6739d51a3f

View File

@@ -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: