Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Feb 2018 11:29:35 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r461491 - in head/science/iboview: . files
Message-ID:  <201802111129.w1BBTZFm061298@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Sun Feb 11 11:29:35 2018
New Revision: 461491
URL: https://svnweb.freebsd.org/changeset/ports/461491

Log:
  Convert to USES=fortran
  
  Submitted by:	jbeich

Modified:
  head/science/iboview/Makefile
  head/science/iboview/files/patch-main.pro

Modified: head/science/iboview/Makefile
==============================================================================
--- head/science/iboview/Makefile	Sun Feb 11 11:15:02 2018	(r461490)
+++ head/science/iboview/Makefile	Sun Feb 11 11:29:35 2018	(r461491)
@@ -14,24 +14,17 @@ COMMENT=	Program for analyzing molecular electronic st
 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

Modified: head/science/iboview/files/patch-main.pro
==============================================================================
--- head/science/iboview/files/patch-main.pro	Sun Feb 11 11:15:02 2018	(r461490)
+++ head/science/iboview/files/patch-main.pro	Sun Feb 11 11:29:35 2018	(r461491)
@@ -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
  



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802111129.w1BBTZFm061298>