Skip to content

Commit

Permalink
math/deal.ii: Update 9.3.1 -> 9.3.2
Browse files Browse the repository at this point in the history
Also add the 'test' target.

Reported by:	portscout
  • Loading branch information
yurivict committed Nov 18, 2021
1 parent 1011e7d commit d77df04
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 7 deletions.
6 changes: 3 additions & 3 deletions math/deal.ii/Makefile
@@ -1,7 +1,6 @@
PORTNAME= deal.II
DISTVERSIONPREFIX= v
DISTVERSION= 9.3.1
PORTREVISION= 2
DISTVERSION= 9.3.2
CATEGORIES= math

MAINTAINER= yuri@FreeBSD.org
Expand All @@ -17,7 +16,7 @@ LIB_DEPENDS= libboost_serialization.so:devel/boost-libs \
libhdf5.so:science/hdf5 \
libmetis.so:math/metis

USES= blaslapack cmake compiler:c++17-lang localbase:ldflags
USES= blaslapack cmake:testing compiler:c++17-lang localbase:ldflags
USE_LDCONFIG= yes

USE_GITHUB= yes
Expand All @@ -29,6 +28,7 @@ CMAKE_OFF= DEAL_II_ALLOW_BUNDLED DEAL_II_COMPONENT_EXAMPLES \
DEAL_II_WITH_NANOFLANN DEAL_II_WITH_MUPARSER DEAL_II_WITH_ASSIMP \
DEAL_II_WITH_HDF5
CMAKE_ON= DEAL_II_FORCE_BUNDLED_TBB # instead of LIB_DEPENDS+=libtbb.so:devel/onetbb, pending https://github.com/dealii/dealii/issues/11561
CMAKE_TESTING_ON= FREEBSD_ENABLE_TESTS

OPTIONS_DEFINE= ADOLC ARPACK GSL LAPACK MPI NETCDF OPENCASCADE PETSC SCALAPACK SUNDIALS
OPTIONS_DEFAULT= GSL LAPACK # SUNDIALS
Expand Down
6 changes: 3 additions & 3 deletions math/deal.ii/distinfo
@@ -1,3 +1,3 @@
TIMESTAMP = 1625503118
SHA256 (dealii-dealii-v9.3.1_GH0.tar.gz) = a62f4676ab2dc029892251d141427fb75cbb83cddd606019f615d0dde9c61ab8
SIZE (dealii-dealii-v9.3.1_GH0.tar.gz) = 24459280
TIMESTAMP = 1637269993
SHA256 (dealii-dealii-v9.3.2_GH0.tar.gz) = ee7a6f98c1d8515fbd68b5fa7df46cb033efcabc87848a8a322d48f4d1e46676
SIZE (dealii-dealii-v9.3.2_GH0.tar.gz) = 24461873
11 changes: 11 additions & 0 deletions math/deal.ii/files/patch-CMakeLists.txt
@@ -0,0 +1,11 @@
--- CMakeLists.txt.orig 2021-11-18 21:53:45 UTC
+++ CMakeLists.txt
@@ -77,7 +77,7 @@ IF(EXISTS ${CMAKE_SOURCE_DIR}/doc/CMakeLists.txt)
ENDIF()

IF(EXISTS ${CMAKE_SOURCE_DIR}/tests/CMakeLists.txt)
- SET(DEAL_II_HAVE_TESTS_DIRECTORY TRUE)
+ SET(DEAL_II_HAVE_TESTS_DIRECTORY ${FREEBSD_ENABLE_TESTS})
ENDIF()

#
3 changes: 2 additions & 1 deletion math/deal.ii/pkg-plist
Expand Up @@ -683,6 +683,7 @@ include/deal.II/physics/elasticity/standard_tensors.h
include/deal.II/physics/notation.h
include/deal.II/physics/transformations.h
include/deal.II/sundials/arkode.h
include/deal.II/sundials/copy.h
include/deal.II/sundials/ida.h
include/deal.II/sundials/kinsol.h
include/deal.II/sundials/n_vector.h
Expand All @@ -696,7 +697,7 @@ lib/cmake/deal.II/deal.IIFeatureConfig.cmake
lib/cmake/deal.II/deal.IITargets-%%CMAKE_BUILD_TYPE%%.cmake
lib/cmake/deal.II/deal.IITargets.cmake
lib/libdeal_II.so
lib/libdeal_II.so.9.3.1
lib/libdeal_II.so.9.3.2
libdata/pkgconfig/deal.II_%%CMAKE_BUILD_TYPE%%.pc
%%DATADIR%%/macros/macro_deal_ii_add_test.cmake
%%DATADIR%%/macros/macro_deal_ii_initialize_cached_variables.cmake
Expand Down

0 comments on commit d77df04

Please sign in to comment.