svn commit: r539561 - head/math/sympow

Gleb Popov arrowd at FreeBSD.org
Thu Jun 18 19:24:52 UTC 2020


Author: arrowd
Date: Thu Jun 18 19:24:51 2020
New Revision: 539561
URL: https://svnweb.freebsd.org/changeset/ports/539561

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

Modified:
  head/math/sympow/Makefile

Modified: head/math/sympow/Makefile
==============================================================================
--- head/math/sympow/Makefile	Thu Jun 18 19:15:11 2020	(r539560)
+++ head/math/sympow/Makefile	Thu Jun 18 19:24:51 2020	(r539561)
@@ -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:


More information about the svn-ports-head mailing list