Date: Sun, 11 Feb 2018 11:51:36 +0100 From: Jan Beich <jbeich@FreeBSD.org> To: Antoine Brodin <antoine@FreeBSD.org> Cc: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r461483 - head/science/iboview Message-ID: <inb3-3ikn-wny@FreeBSD.org> In-Reply-To: <201802111011.w1BABf5x021826@repo.freebsd.org> (Antoine Brodin's message of "Sun, 11 Feb 2018 10:11:41 %2B0000 (UTC)") References: <201802111011.w1BABf5x021826@repo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Antoine Brodin <antoine@FreeBSD.org> writes: > @@ -15,9 +15,10 @@ LICENSE= GPLv3 > LICENSE_FILE= ${WRKSRC}/LICENSE > > BUILD_DEPENDS= qt5-buildtools>=0:devel/qt5-buildtools \ > - boost-libs>=0:devel/boost-libs > -LIB_DEPENDS= libgcc_s.so:lang/gcc > -RUN_DEPENDS= boost-libs>=0:devel/boost-libs > + 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} Why not USES=fortran? It can also replace %%GCC_RUNTIME%% goo. Index: science/iboview/Makefile =================================================================== --- science/iboview/Makefile (revision 461485) +++ science/iboview/Makefile (working copy) @@ -14,25 +14,18 @@ COMMENT= Program for analyzing molecular electroni 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 Index: science/iboview/files/patch-main.pro =================================================================== --- science/iboview/files/patch-main.pro (revision 461485) +++ science/iboview/files/patch-main.pro (working copy) @@ -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?inb3-3ikn-wny>