aboutsummaryrefslogtreecommitdiffstats
path: root/science/nwchem
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2018-11-09 06:41:49 +0800
committerYuri Victorovich <yuri@FreeBSD.org>2018-11-09 06:41:49 +0800
commit957565e2e72b08b6ec93cc80b05687a7e900c5b6 (patch)
treed15a2b7ad56addd984663f2e19b3fefbff33b5ab /science/nwchem
parent3a59c8fb14bf0780d99c4d50180430ec5fde5ab8 (diff)
downloadfreebsd-ports-gnome-957565e2e72b08b6ec93cc80b05687a7e900c5b6.tar.gz
freebsd-ports-gnome-957565e2e72b08b6ec93cc80b05687a7e900c5b6.tar.zst
freebsd-ports-gnome-957565e2e72b08b6ec93cc80b05687a7e900c5b6.zip
science/nwchem: Unbreak on i386: use NWCHEM_TARGET=LINUX on 32-bit architectures
Based on the advise of the upstream devs.
Diffstat (limited to 'science/nwchem')
-rw-r--r--science/nwchem/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/science/nwchem/Makefile b/science/nwchem/Makefile
index 6eed4cd4859a..94920c0f7429 100644
--- a/science/nwchem/Makefile
+++ b/science/nwchem/Makefile
@@ -12,8 +12,6 @@ LICENSE_NAME= Educational Community License (ECL) 2.0
LICENSE_FILE= ${WRKSRC}/../LICENSE.TXT
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
-BROKEN_i386= Compiling basis.F... f951: sorry, unimplemented: 64-bit mode not compiled in
-
BUILD_DEPENDS= bash:shells/bash
LIB_DEPENDS= libblas.so:math/blas \
libga.so:devel/ga \
@@ -28,7 +26,8 @@ GH_TAGNAME= master-oct22_2018-21-gd3913ef8b
USE_PERL5= build
MAKEFILE= GNUmakefile
-MAKE_ENV= NWCHEM_TOP=${WRKSRC}/.. NWCHEM_MODULES=all NWCHEM_LONG_PATHS=Y NWCHEM_TARGET=LINUX64 USE_MPI=Y USE_INTERNALBLAS=Y EXTERNAL_GA_PATH=${LOCALBASE} \
+ARCH_64BIT= ${ARCH:C/.*64.*/64/:S/${ARCH}//}
+MAKE_ENV= NWCHEM_TOP=${WRKSRC}/.. NWCHEM_MODULES=all NWCHEM_LONG_PATHS=Y NWCHEM_TARGET=LINUX${ARCH_64BIT} USE_MPI=Y USE_INTERNALBLAS=Y EXTERNAL_GA_PATH=${LOCALBASE} \
BLAS_SIZE=4 USE_64TO32=y
SUB_FILES= nwchemrc