aboutsummaryrefslogtreecommitdiff
path: root/science/nwchem
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2018-11-10 08:01:15 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2018-11-10 08:01:15 +0000
commit947604102e5bc1136939dc01365405509b523675 (patch)
tree48ec5fdfa3aea964c4fbac27685d8914101a2859 /science/nwchem
parentf73a79e22d4e29ed39a40dc2da960886947fa4cd (diff)
downloadports-947604102e5bc1136939dc01365405509b523675.tar.gz
ports-947604102e5bc1136939dc01365405509b523675.zip
Notes
Diffstat (limited to 'science/nwchem')
-rw-r--r--science/nwchem/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/science/nwchem/Makefile b/science/nwchem/Makefile
index 94920c0f7429..215f04a5a125 100644
--- a/science/nwchem/Makefile
+++ b/science/nwchem/Makefile
@@ -17,7 +17,7 @@ LIB_DEPENDS= libblas.so:math/blas \
libga.so:devel/ga \
libmpich.so:net/mpich
-USES= fortran gmake shebangfix
+USES= fortran gmake ${ARCH_64BIT:S/^$/perl5/:S/64//} shebangfix
SHEBANG_FILES= ../contrib/distro-tools/build_* ../contrib/add_*
SHEBANG_GLOB= *.sh
USE_GITHUB= yes
@@ -34,7 +34,7 @@ SUB_FILES= nwchemrc
WRKSRC_SUBDIR= src
-BINARY_ALIAS= gcc=${CC}
+BINARY_ALIAS= gcc=${CC} gfortran=gfortran${GCC_DEFAULT}
post-extract:
@${RM} ${WRKSRC}/atomscf/src.orig
@@ -49,7 +49,7 @@ pre-build:
do-install:
${INSTALL_DATA} ${WRKDIR}/nwchemrc ${STAGEDIR}${PREFIX}/etc/nwchemrc
- ${INSTALL_PROGRAM} ${WRKSRC}/../bin/LINUX64/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+ ${INSTALL_PROGRAM} ${WRKSRC}/../bin/LINUX${ARCH_64BIT}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
cd ${WRKSRC}/basis && ${COPYTREE_SHARE} libraries ${STAGEDIR}${DATADIR}
cd ${WRKSRC} && ${COPYTREE_SHARE} data ${STAGEDIR}${DATADIR}
@${MKDIR} ${STAGEDIR}${DATADIR}/libraryps