Convert to USES=fortran

Submitted by:	jbeich
This commit is contained in:
Antoine Brodin 2018-02-11 11:29:35 +00:00
parent 0814229a5c
commit 0728536616
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=461491
2 changed files with 5 additions and 12 deletions

View file

@ -14,25 +14,18 @@ COMMENT= Program for analyzing molecular electronic structure
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= qt5-buildtools>=0:devel/qt5-buildtools \
boost-libs>=0:devel/boost-libs \
${LOCALBASE}/lib/gcc${GCC_DEFAULT}/libgcc_s.so:lang/gcc${GCC_DEFAULT}
RUN_DEPENDS= boost-libs>=0:devel/boost-libs \
${LOCALBASE}/lib/gcc${GCC_DEFAULT}/libgcc_s.so:lang/gcc${GCC_DEFAULT}
BUILD_DEPENDS= boost-libs>=0:devel/boost-libs
RUN_DEPENDS= boost-libs>=0:devel/boost-libs
ONLY_FOR_ARCHS= amd64
ONLY_FOR_ARCHS_REASON_amd64= only builds and is supported on amd64
USES= tar:bz2 qmake:outsource blaslapack:openblas
USES= fortran blaslapack:openblas qmake:outsource tar:bz2
USE_GL= gl glu
USE_QT5= core gui widgets opengl script svg
USE_QT5= buildtools_build core gui widgets opengl script svg
PLIST_FILES= bin/iboview
post-patch:
${REINPLACE_CMD} -e 's|%%_GCC_RUNTIME%%|${LOCALBASE}/lib/gcc${GCC_DEFAULT}|g' \
${WRKSRC}/main.pro
do-install:
${INSTALL_PROGRAM} ${BUILD_WRKSRC}/iboview ${STAGEDIR}${PREFIX}/bin

View file

@ -14,7 +14,7 @@
-LIBS += -L$$MKLDIR/lib/intel64 -fopenmp -lmkl_gf_ilp64 -lmkl_gnu_thread -lmkl_core -Wl,-rpath,$$MKLDIR/lib/intel64
+#LIBS += -L$$MKLDIR/lib/intel64 -fopenmp -lmkl_gf_ilp64 -lmkl_gnu_thread -lmkl_core -Wl,-rpath,$$MKLDIR/lib/intel64
# LIBS += -LC:\Users\cgk\Develop\Libraries\OpenBLAS\bin -lopenblas
+LIBS += -Wl,-rpath=%%_GCC_RUNTIME%% %%_GCC_RUNTIME%%/libgcc_s.so -lopenblas
+LIBS += -lopenblas
# MICROSCF = ../wmme