From owner-svn-ports-head@freebsd.org Wed Oct 12 17:50:29 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A5403C0F5C9; Wed, 12 Oct 2016 17:50:29 +0000 (UTC) (envelope-from pawel@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 821A932F; Wed, 12 Oct 2016 17:50:29 +0000 (UTC) (envelope-from pawel@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u9CHoSSM000408; Wed, 12 Oct 2016 17:50:28 GMT (envelope-from pawel@FreeBSD.org) Received: (from pawel@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u9CHoSeG000405; Wed, 12 Oct 2016 17:50:28 GMT (envelope-from pawel@FreeBSD.org) Message-Id: <201610121750.u9CHoSeG000405@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pawel set sender to pawel@FreeBSD.org using -f From: Pawel Pekala Date: Wed, 12 Oct 2016 17:50:28 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r423876 - in head/math/superlu: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Oct 2016 17:50:29 -0000 Author: pawel Date: Wed Oct 12 17:50:28 2016 New Revision: 423876 URL: https://svnweb.freebsd.org/changeset/ports/423876 Log: - Update to version 5.2.1 [1] - Add OPENBLAS option [1] - Simplify PLIST_SUB generation PR: 213352 [1] Submitted by: dieterich@ogolem.org [1] Added: head/math/superlu/files/ head/math/superlu/files/patch-SRC_CMakeLists.txt (contents, props changed) Modified: head/math/superlu/Makefile head/math/superlu/distinfo Modified: head/math/superlu/Makefile ============================================================================== --- head/math/superlu/Makefile Wed Oct 12 17:23:57 2016 (r423875) +++ head/math/superlu/Makefile Wed Oct 12 17:50:28 2016 (r423876) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= superlu -PORTVERSION= 5.2.0 +PORTVERSION= 5.2.1 CATEGORIES= math MASTER_SITES= http://crd-legacy.lbl.gov/~xiaoye/SuperLU/ \ http://crd-legacy.lbl.gov/~xiaoye/:doc @@ -16,11 +16,10 @@ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/License.txt USES= cmake:outsource fortran - USE_LDCONFIG= yes WRKSRC= ${WRKDIR}/SuperLU_${PORTVERSION} -PLIST_SUB= P_VERSION="${P_VERSION}" P_VER="${P_VER}" +PLIST_SUB= P_VERSION="${PORTVERSION}" P_VER="${PORTVERSION:R:R}" CMAKE_ARGS= -DUSE_XSDK_DEFAULTS:BOOL=ON \ -Denable_examples:BOOL=OFF @@ -29,7 +28,7 @@ PORTDOCS= * OPTIONS_DEFINE= DOCS TEST OPTIONS_SINGLE= BLAS -OPTIONS_SINGLE_BLAS= ATLAS GOTOBLAS REFERENCE +OPTIONS_SINGLE_BLAS= ATLAS GOTOBLAS OPENBLAS REFERENCE OPTIONS_DEFAULT= REFERENCE ATLAS_USES= blaslapack:atlas @@ -40,13 +39,14 @@ DOCS_EXTRACT_ONLY= ${DISTNAME}${EXTRACT_ GOTOBLAS_DESC= GotoBLAS blas implementation GOTOBLAS_USES= blaslapack:gotoblas GOTOBLAS_CMAKE_ARGS= -DBLA_VENDOR:STRING="Goto" +OPENBLAS_DESC= OpenBLAS blas implementation +OPENBLAS_USES= blaslapack:openblas +OPENBLAS_CMAKE_ARGS= -DBLA_VENDOR:STRING="OpenBLAS" REFERENCE_DESC= Reference blas implementation REFERENCE_USES= blaslapack REFERENCE_CMAKE_ARGS= -DBLA_VENDOR:STRING="Generic" TEST_CMAKE_ARGS= -Denable_tests:BOOL=ON -P_VERSION= 5.1.1 -P_VER= ${P_VERSION:C/^([[:alnum:]]+).*/\1/} SLU_DOCS= SLU_general.ps.gz simax-29176.pdf post-patch: @@ -54,8 +54,6 @@ post-patch: '/CMAKE_C_FLAGS_RELEASE/s|^|#|' ${WRKSRC}/CMakeLists.txt @${REINPLACE_CMD} -e \ '/FFLAGS/s|FATAL_ERROR|WARNING|' ${WRKSRC}/cmake/XSDKDefaults.cmake - @${REINPLACE_CMD} -e \ - 's|\(/include\)$$|\1/superlu|' ${WRKSRC}/SRC/CMakeLists.txt post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} Modified: head/math/superlu/distinfo ============================================================================== --- head/math/superlu/distinfo Wed Oct 12 17:23:57 2016 (r423875) +++ head/math/superlu/distinfo Wed Oct 12 17:50:28 2016 (r423876) @@ -1,5 +1,6 @@ -SHA256 (superlu/superlu_5.2.0.tar.gz) = 065bb8bfea79f5d3ec09c2d091ec79050fcfc123fb2f38818d95f4d8f9e7ff6c -SIZE (superlu/superlu_5.2.0.tar.gz) = 2542410 +TIMESTAMP = 1476287508 +SHA256 (superlu/superlu_5.2.1.tar.gz) = 28fb66d6107ee66248d5cf508c79de03d0621852a0ddeba7301801d3d859f463 +SIZE (superlu/superlu_5.2.1.tar.gz) = 2560875 SHA256 (superlu/SLU_general.ps.gz) = 00d00cedfadd96a42014d22b30c0cc451a575d8d309774519068b11d4be1ebe5 SIZE (superlu/SLU_general.ps.gz) = 89463 SHA256 (superlu/simax-29176.pdf) = 1411a3976b932a834157064dbaf0cdda10763f321bae10eb6f18925432250226 Added: head/math/superlu/files/patch-SRC_CMakeLists.txt ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/superlu/files/patch-SRC_CMakeLists.txt Wed Oct 12 17:50:28 2016 (r423876) @@ -0,0 +1,11 @@ +--- SRC/CMakeLists.txt.orig 2016-05-22 15:58:44 UTC ++++ SRC/CMakeLists.txt +@@ -241,6 +241,6 @@ install(TARGETS superlu + ) + + install(FILES ${headers} +-# DESTINATION ${CMAKE_INSTALL_PREFIX}/include +- DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} ++ DESTINATION ${CMAKE_INSTALL_PREFIX}/include/superlu ++# DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} + )