Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Jun 2020 19:24:51 +0000 (UTC)
From:      Gleb Popov <arrowd@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r539561 - head/math/sympow
Message-ID:  <202006181924.05IJOpS3003597@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202006181924.05IJOpS3003597>