svn commit: r505742 - head/science/dftbplus
Tobias Kortkamp
tobik at FreeBSD.org
Wed Jul 3 10:05:48 UTC 2019
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 at 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}"
More information about the svn-ports-head
mailing list