From owner-svn-ports-all@freebsd.org Sat Nov 10 08:01:16 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CB473112C442; Sat, 10 Nov 2018 08:01:16 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 592397E7A2; Sat, 10 Nov 2018 08:01:16 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 2964F201C8; Sat, 10 Nov 2018 08:01:16 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id wAA81GfR054950; Sat, 10 Nov 2018 08:01:16 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id wAA81GU8054949; Sat, 10 Nov 2018 08:01:16 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201811100801.wAA81GU8054949@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Sat, 10 Nov 2018 08:01:16 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r484592 - head/science/nwchem X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: head/science/nwchem X-SVN-Commit-Revision: 484592 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 592397E7A2 X-Spamd-Result: default: False [-106.87 / 200.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; ALLOW_DOMAIN_WHITELIST(-100.00)[FreeBSD.org]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; HAS_XAW(0.00)[]; R_SPF_SOFTFAIL(0.00)[~all]; DMARC_NA(0.00)[FreeBSD.org]; RCVD_COUNT_THREE(0.00)[4]; MX_GOOD(-0.01)[cached: mx1.FreeBSD.org]; NEURAL_HAM_SHORT(-1.00)[-1.000,0]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; IP_SCORE(-3.76)[ip: (-9.91), ipnet: 2610:1c1:1::/48(-4.93), asn: 11403(-3.88), country: US(-0.09)] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Nov 2018 08:01:17 -0000 Author: yuri Date: Sat Nov 10 08:01:15 2018 New Revision: 484592 URL: https://svnweb.freebsd.org/changeset/ports/484592 Log: science/nwchem: Fix build on 32-bit systems It requires perl on 32-bit systems, and requires gfortran command alias. Modified: head/science/nwchem/Makefile Modified: head/science/nwchem/Makefile ============================================================================== --- head/science/nwchem/Makefile Sat Nov 10 07:59:08 2018 (r484591) +++ head/science/nwchem/Makefile Sat Nov 10 08:01:15 2018 (r484592) @@ -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