From owner-svn-ports-all@freebsd.org Sun Feb 11 10:51:44 2018 Return-Path: Delivered-To: svn-ports-all@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 C6A7AF0BAA7; Sun, 11 Feb 2018 10:51:44 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7C9E3723A1; Sun, 11 Feb 2018 10:51:44 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: by freefall.freebsd.org (Postfix, from userid 1354) id 72BE59A10; Sun, 11 Feb 2018 10:51:44 +0000 (UTC) From: Jan Beich To: Antoine Brodin Cc: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r461483 - head/science/iboview References: <201802111011.w1BABf5x021826@repo.freebsd.org> Date: Sun, 11 Feb 2018 11:51:36 +0100 In-Reply-To: <201802111011.w1BABf5x021826@repo.freebsd.org> (Antoine Brodin's message of "Sun, 11 Feb 2018 10:11:41 +0000 (UTC)") Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Feb 2018 10:51:44 -0000 Antoine Brodin 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