From owner-svn-ports-head@freebsd.org Wed Jul 3 10:05:48 2019 Return-Path: Delivered-To: svn-ports-head@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 5C8F615CEAAF; Wed, 3 Jul 2019 10:05:48 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 044026CF1A; Wed, 3 Jul 2019 10:05:48 +0000 (UTC) (envelope-from tobik@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 D3A9BA30E; Wed, 3 Jul 2019 10:05:47 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x63A5l5Z066297; Wed, 3 Jul 2019 10:05:47 GMT (envelope-from tobik@FreeBSD.org) Received: (from tobik@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x63A5lVj066296; Wed, 3 Jul 2019 10:05:47 GMT (envelope-from tobik@FreeBSD.org) Message-Id: <201907031005.x63A5lVj066296@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tobik set sender to tobik@FreeBSD.org using -f From: Tobias Kortkamp Date: Wed, 3 Jul 2019 10:05:47 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r505742 - head/science/dftbplus X-SVN-Group: ports-head X-SVN-Commit-Author: tobik X-SVN-Commit-Paths: head/science/dftbplus X-SVN-Commit-Revision: 505742 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 044026CF1A X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.97 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; NEURAL_HAM_SHORT(-0.97)[-0.969,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Jul 2019 10:05:48 -0000 Author: tobik Date: Wed Jul 3 10:05:47 2019 New Revision: 505742 URL: https://svnweb.freebsd.org/changeset/ports/505742 Log: science/dftbplus: Unbreak build with GCC 9 /usr/local/bin/ld: coulomb.o: in function `__coulomb_MOD_invrstress._omp_fn.0': coulomb.f90:(.text+0x42): undefined reference to `GOMP_loop_maybe_nonmonotonic_runtime_start' /usr/local/bin/ld: coulomb.f90:(.text+0x176): undefined reference to `GOMP_loop_maybe_nonmonotonic_runtime_next' /usr/local/bin/ld: coulomb.o: in function `__coulomb_MOD_invrstress._omp_fn.1': coulomb.f90:(.text+0xfbc): undefined reference to `GOMP_loop_maybe_nonmonotonic_runtime_start' /usr/local/bin/ld: coulomb.f90:(.text+0x1172): undefined reference to `GOMP_loop_maybe_nonmonotonic_runtime_next' [...] PR: 238666 Submitted by: jbeich Reported by: antoine (via exp-run in PR 238330) Approved by: yuri (maintainer timeout, 2 weeks) Modified: head/science/dftbplus/Makefile Modified: head/science/dftbplus/Makefile ============================================================================== --- head/science/dftbplus/Makefile Wed Jul 3 10:04:27 2019 (r505741) +++ head/science/dftbplus/Makefile Wed Jul 3 10:05:47 2019 (r505742) @@ -2,7 +2,7 @@ PORTNAME= dftbplus DISTVERSION= 18.2 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= science MAINTAINER= yuri@FreeBSD.org @@ -11,11 +11,10 @@ COMMENT= DFTB+: Package for performing fast atomistic LICENSE= GPLv3 # main code is under LGPL3+, the bundled dftd3-lib is under GPLv1+, this makes the result GPLv3 (based on https://www.gnu.org/licenses/gpl-faq.html#AllCompatibility) LIB_DEPENDS= libblas.so:math/blas \ - liblapack.so:math/lapack \ - libomp.so:devel/openmp + liblapack.so:math/lapack RUN_DEPENDS= ${PYNUMPY} -USES= fortran gmake python:2.7 shebangfix +USES= compiler:gcc-c++11-lib fortran gmake python:2.7 shebangfix SHEBANG_FILES= tools/dptools/bin/* tools/misc/* utils/srcmanip/* utils/build/* external/fypp/bin/* utils/get_opt_externals \ external/fypp/bin/fypp utils/test/testlist_to_fypp test/prog/dftb+/bin/tagdiff SHEBANG_GLOB= *.py @@ -28,7 +27,7 @@ MAKEFILE= makefile TEST_TARGET= test FFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -llapack -lblas ${LOCALBASE}/lib/gcc${GCC_DEFAULT}/libgcc_s.so ${LOCALBASE}/lib/gcc${GCC_DEFAULT}/libgfortran.so -lm -lomp +LDFLAGS+= -llapack -lblas -lgfortran -lm MAKE_ARGS= PYTHON=${PYTHON_CMD} FC=${FC} FXX=${FC} LN=${CC} \ INSTALLDIR=${STAGEDIR}${PREFIX} FREEBSD_PYDISTUTILS_INSTALLARGS="${PYDISTUTILS_INSTALLARGS} --root=${STAGEDIR}"