aboutsummaryrefslogtreecommitdiffstats
path: root/science
diff options
context:
space:
mode:
authoryuri <yuri@FreeBSD.org>2018-11-09 06:41:49 +0800
committeryuri <yuri@FreeBSD.org>2018-11-09 06:41:49 +0800
commit8e468e71569da3a8dd9ba98bc35dc8d333d35bc4 (patch)
treed15a2b7ad56addd984663f2e19b3fefbff33b5ab /science
parent983a557b9fc6685b5f2070868fecf460b4a0ac16 (diff)
downloadfreebsd-ports-gnome-8e468e71569da3a8dd9ba98bc35dc8d333d35bc4.tar.gz
freebsd-ports-gnome-8e468e71569da3a8dd9ba98bc35dc8d333d35bc4.tar.zst
freebsd-ports-gnome-8e468e71569da3a8dd9ba98bc35dc8d333d35bc4.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')
-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