head 1.12; access; symbols pkgsrc-2023Q4:1.12.0.2 pkgsrc-2023Q4-base:1.12 pkgsrc-2023Q3:1.10.0.10 pkgsrc-2023Q3-base:1.10 pkgsrc-2023Q2:1.10.0.8 pkgsrc-2023Q2-base:1.10 pkgsrc-2023Q1:1.10.0.6 pkgsrc-2023Q1-base:1.10 pkgsrc-2022Q4:1.10.0.4 pkgsrc-2022Q4-base:1.10 pkgsrc-2022Q3:1.10.0.2 pkgsrc-2022Q3-base:1.10 pkgsrc-2022Q2:1.9.0.22 pkgsrc-2022Q2-base:1.9 pkgsrc-2022Q1:1.9.0.20 pkgsrc-2022Q1-base:1.9 pkgsrc-2021Q4:1.9.0.18 pkgsrc-2021Q4-base:1.9 pkgsrc-2021Q3:1.9.0.16 pkgsrc-2021Q3-base:1.9 pkgsrc-2021Q2:1.9.0.14 pkgsrc-2021Q2-base:1.9 pkgsrc-2021Q1:1.9.0.12 pkgsrc-2021Q1-base:1.9 pkgsrc-2020Q4:1.9.0.10 pkgsrc-2020Q4-base:1.9 pkgsrc-2020Q3:1.9.0.8 pkgsrc-2020Q3-base:1.9 pkgsrc-2020Q2:1.9.0.6 pkgsrc-2020Q2-base:1.9 pkgsrc-2020Q1:1.9.0.2 pkgsrc-2020Q1-base:1.9 pkgsrc-2019Q4:1.9.0.4 pkgsrc-2019Q4-base:1.9 pkgsrc-2019Q3:1.8.0.4 pkgsrc-2019Q3-base:1.8 pkgsrc-2019Q2:1.8.0.2 pkgsrc-2019Q2-base:1.8 pkgsrc-2019Q1:1.7.0.62 pkgsrc-2019Q1-base:1.7 pkgsrc-2018Q4:1.7.0.60 pkgsrc-2018Q4-base:1.7 pkgsrc-2018Q3:1.7.0.58 pkgsrc-2018Q3-base:1.7 pkgsrc-2018Q2:1.7.0.56 pkgsrc-2018Q2-base:1.7 pkgsrc-2018Q1:1.7.0.54 pkgsrc-2018Q1-base:1.7 pkgsrc-2017Q4:1.7.0.52 pkgsrc-2017Q4-base:1.7 pkgsrc-2017Q3:1.7.0.50 pkgsrc-2017Q3-base:1.7 pkgsrc-2017Q2:1.7.0.46 pkgsrc-2017Q2-base:1.7 pkgsrc-2017Q1:1.7.0.44 pkgsrc-2017Q1-base:1.7 pkgsrc-2016Q4:1.7.0.42 pkgsrc-2016Q4-base:1.7 pkgsrc-2016Q3:1.7.0.40 pkgsrc-2016Q3-base:1.7 pkgsrc-2016Q2:1.7.0.38 pkgsrc-2016Q2-base:1.7 pkgsrc-2016Q1:1.7.0.36 pkgsrc-2016Q1-base:1.7 pkgsrc-2015Q4:1.7.0.34 pkgsrc-2015Q4-base:1.7 pkgsrc-2015Q3:1.7.0.32 pkgsrc-2015Q3-base:1.7 pkgsrc-2015Q2:1.7.0.30 pkgsrc-2015Q2-base:1.7 pkgsrc-2015Q1:1.7.0.28 pkgsrc-2015Q1-base:1.7 pkgsrc-2014Q4:1.7.0.26 pkgsrc-2014Q4-base:1.7 pkgsrc-2014Q3:1.7.0.24 pkgsrc-2014Q3-base:1.7 pkgsrc-2014Q2:1.7.0.22 pkgsrc-2014Q2-base:1.7 pkgsrc-2014Q1:1.7.0.20 pkgsrc-2014Q1-base:1.7 pkgsrc-2013Q4:1.7.0.18 pkgsrc-2013Q4-base:1.7 pkgsrc-2013Q3:1.7.0.16 pkgsrc-2013Q3-base:1.7 pkgsrc-2013Q2:1.7.0.14 pkgsrc-2013Q2-base:1.7 pkgsrc-2013Q1:1.7.0.12 pkgsrc-2013Q1-base:1.7 pkgsrc-2012Q4:1.7.0.10 pkgsrc-2012Q4-base:1.7 pkgsrc-2012Q3:1.7.0.8 pkgsrc-2012Q3-base:1.7 pkgsrc-2012Q2:1.7.0.6 pkgsrc-2012Q2-base:1.7 pkgsrc-2012Q1:1.7.0.4 pkgsrc-2012Q1-base:1.7 pkgsrc-2011Q4:1.7.0.2 pkgsrc-2011Q4-base:1.7 pkgsrc-2011Q3:1.6.0.14 pkgsrc-2011Q3-base:1.6 pkgsrc-2011Q2:1.6.0.12 pkgsrc-2011Q2-base:1.6 pkgsrc-2011Q1:1.6.0.10 pkgsrc-2011Q1-base:1.6 pkgsrc-2010Q4:1.6.0.8 pkgsrc-2010Q4-base:1.6 pkgsrc-2010Q3:1.6.0.6 pkgsrc-2010Q3-base:1.6 pkgsrc-2010Q2:1.6.0.4 pkgsrc-2010Q2-base:1.6 pkgsrc-2010Q1:1.6.0.2 pkgsrc-2010Q1-base:1.6 pkgsrc-2009Q4:1.5.0.2 pkgsrc-2009Q4-base:1.5 pkgsrc-2009Q3:1.4.0.16 pkgsrc-2009Q3-base:1.4 pkgsrc-2009Q2:1.4.0.14 pkgsrc-2009Q2-base:1.4 pkgsrc-2009Q1:1.4.0.12 pkgsrc-2009Q1-base:1.4 pkgsrc-2008Q4:1.4.0.10 pkgsrc-2008Q4-base:1.4 pkgsrc-2008Q3:1.4.0.8 pkgsrc-2008Q3-base:1.4 cube-native-xorg:1.4.0.6 cube-native-xorg-base:1.4 pkgsrc-2008Q2:1.4.0.4 pkgsrc-2008Q2-base:1.4 cwrapper:1.4.0.2 pkgsrc-2008Q1:1.3.0.14 pkgsrc-2008Q1-base:1.3 pkgsrc-2007Q4:1.3.0.12 pkgsrc-2007Q4-base:1.3 pkgsrc-2007Q3:1.3.0.10 pkgsrc-2007Q3-base:1.3 pkgsrc-2007Q2:1.3.0.8 pkgsrc-2007Q2-base:1.3 pkgsrc-2007Q1:1.3.0.6 pkgsrc-2007Q1-base:1.3 pkgsrc-2006Q4:1.3.0.4 pkgsrc-2006Q4-base:1.3 pkgsrc-2006Q3:1.3.0.2 pkgsrc-2006Q3-base:1.3 pkgsrc-2006Q2:1.2.0.4 pkgsrc-2006Q2-base:1.2 pkgsrc-2006Q1:1.2.0.2 pkgsrc-2006Q1-base:1.2 pkgsrc-2005Q4:1.1.0.6 pkgsrc-2005Q4-base:1.1 pkgsrc-2005Q3:1.1.0.4 pkgsrc-2005Q3-base:1.1 pkgsrc-2005Q2:1.1.0.2 pkgsrc-2005Q2-base:1.1; locks; strict; comment @# @; 1.12 date 2023.12.18.15.53.27; author thor; state Exp; branches; next 1.11; commitid yOiNtDYqajLVKXQE; 1.11 date 2023.12.18.10.33.28; author thor; state Exp; branches; next 1.10; commitid ribvcXqXUmJZYVQE; 1.10 date 2022.07.22.14.50.32; author thor; state Exp; branches; next 1.9; commitid pmqumxE69ZETUTMD; 1.9 date 2019.11.03.10.39.13; author rillig; state Exp; branches; next 1.8; commitid REW2CfrA7HdqqoJB; 1.8 date 2019.05.01.22.39.29; author bacon; state Exp; branches; next 1.7; commitid I6DSvQmFxbmynylB; 1.7 date 2011.10.07.10.38.50; author alnsn; state Exp; branches; next 1.6; 1.6 date 2010.02.06.22.19.00; author gdt; state Exp; branches; next 1.5; 1.5 date 2009.11.15.15.50.50; author drochner; state Exp; branches; next 1.4; 1.4 date 2008.04.12.22.42.59; author jlam; state Exp; branches; next 1.3; 1.3 date 2006.07.22.04.46.15; author rillig; state Exp; branches; next 1.2; 1.2 date 2006.01.04.06.05.44; author recht; state Exp; branches; next 1.1; 1.1 date 2005.05.19.15.39.04; author jwise; state Exp; branches; next ; desc @@ 1.12 log @devel/hdf5: rename unsafe-threads to hdf5-unsafe-threads and document it @ text @# $NetBSD: options.mk,v 1.11 2023/12/18 10:33:28 thor Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.hdf5 PKG_SUPPORTED_OPTIONS= szip threads hdf5-unsafe-threads PKG_SUGGESTED_OPTIONS= szip .include "../../mk/bsd.options.mk" .if !empty(PKG_OPTIONS:Mszip) CONFIGURE_ARGS+= --with-szlib .include "../../archivers/libaec/buildlink3.mk" .endif # Threadsafe API is incompatible with high-level and C++ APIs. PLIST_VARS+= hl .if !empty(PKG_OPTIONS:Mthreads) CONFIGURE_ARGS+= --enable-threadsafe --disable-hl .include "../../mk/pthread.buildlink3.mk" .else PLIST.hl= yes .endif # You can still enable threads if you are adventurous. There # are scientists like that. Not supported, but possible. .if !empty(PKG_OPTIONS:Mhdf5-unsafe-threads) CONFIGURE_ARGS+= --enable-threadsafe --enable-unsupported .include "../../mk/pthread.buildlink3.mk" .endif @ 1.11 log @devel/hdf5: adding unsafe-threads option This is an option certain scientific users request for building their code. They explicitly need the unsupported configuration, that somehow seems to work for them. @ text @d1 1 a1 1 # $NetBSD: options.mk,v 1.10 2022/07/22 14:50:32 thor Exp $ d4 1 a4 1 PKG_SUPPORTED_OPTIONS= szip threads unsafe-threads d25 1 a25 1 .if !empty(PKG_OPTIONS:Munsafe-threads) @ 1.10 log @hdf5 and hdf5-c++: fix up the threads option Explicitly disable the hl interface of hdf5 with threads, removing files from PLIST, and also preventing support for the C++ interface. That is also why we won't enable threads by default anytime soon. It is a specific option needed for some users. The jury is still out if the threadsafe option or the C++ API has less users. Not incrementing PKGREVISION, as build of hdf5-c++ with threads option was broken anyway, as was PLIST of hdf5. Default builds without threads are unaffected. @ text @d1 1 a1 1 # $NetBSD: options.mk,v 1.9 2019/11/03 10:39:13 rillig Exp $ d4 1 a4 1 PKG_SUPPORTED_OPTIONS= szip threads d22 7 @ 1.9 log @devel: align variable assignments pkglint -Wall -F --only aligned --only indent -r No manual corrections. @ text @d1 1 a1 1 # $NetBSD: options.mk,v 1.8 2019/05/01 22:39:29 bacon Exp $ d14 2 d17 1 a17 2 CONFIGURE_ARGS+= --enable-threadsafe # XXX libraries should not be linked against -lpthread d19 2 @ 1.8 log @devel/hdf5: Enable szip support by default Support was off by default due to non-distributable archivers/szip dependency. Replaced with BSD-licensed archivers/libaec, containing drop-in replacement szip library. @ text @d1 1 a1 1 # $NetBSD: options.mk,v 1.7 2011/10/07 10:38:50 alnsn Exp $ d3 1 a3 1 PKG_OPTIONS_VAR=PKG_OPTIONS.hdf5 @ 1.7 log @Update devel/hdf5 from 1.6.10nb1 to 1.8.7. A list of changes is available at http://www.hdfgroup.org/HDF5/doc/ADGuide/Changes.html A list of new features of 1.8.x release is available at http://www.hdfgroup.uiuc.edu/HDF5/doc_1.8pre/WhatsNew180.html This update removes "cxx" option from the package. New devel/hdf5-c++ should be used instead. @ text @d1 1 a1 1 # $NetBSD$ d5 1 a5 2 # szip is non-Free, so leave out by default PKG_SUGGESTED_OPTIONS= d11 1 a11 1 .include "../../archivers/szip/buildlink3.mk" @ 1.6 log @Disable szip by default, because it's non-free, following the general pkgsrc notion that free software should not depend on non-free software (because that results in not having distributable binary packages, and makes the build fail) unless skipping the dependency renders the software non-useful. (The hdf web page says that the default binary builds of hdf include szip support, but then go on about how users that don't qualify for the no-cost license have to install a different version.) If someone who grasps hdf5 can say that hdf5 w/o szip is generally not useful, we can turn this back on and disable by default the hdf5 option in octave. @ text @d1 1 a1 1 # $NetBSD: options.mk,v 1.5 2009/11/15 15:50:50 drochner Exp $ d4 1 a4 1 PKG_SUPPORTED_OPTIONS= szip cxx threads d6 1 a6 1 PKG_SUGGESTED_OPTIONS= a9 2 PLIST_VARS+= cxx a14 6 .if !empty(PKG_OPTIONS:Mcxx) USE_LANGUAGES= c c++ CONFIGURE_ARGS+= --enable-cxx PLIST.cxx= yes .endif @ 1.5 log @update to 1.6.10 (yes I know there is the 1.8 branch, but I don't want to experiment right now) changes: many fixes, some C++ API improvements pkgsrc change: DESTDIR support @ text @d1 1 a1 1 # $NetBSD: options.mk,v 1.4 2008/04/12 22:42:59 jlam Exp $ d5 2 a6 1 PKG_SUGGESTED_OPTIONS= szip @ 1.4 log @Convert to use PLIST_VARS instead of manually passing "@@comment " through PLIST_SUBST to the plist module. @ text @d1 1 a1 1 # $NetBSD: options.mk,v 1.3 2006/07/22 04:46:15 rillig Exp $ d24 1 @ 1.3 log @Added "c" to USE_LANGUAGES for packages that use GNU configure scripts, since they always need a C compiler, even when the source code is completely in C++. For some other packages, stated in the comment that a C compiler is really not needed. @ text @d1 1 a1 1 # $NetBSD: options.mk,v 1.2 2006/01/04 06:05:44 recht Exp $ d9 2 d19 1 a19 3 PLIST_SUBST+= CXX= .else PLIST_SUBST+= CXX="@@comment " @ 1.2 log @Addd optional support for thread safety and C++ with the options: cxx threads @ text @d1 1 a1 1 # $NetBSD: options.mk,v 1.1 2005/05/19 15:39:04 jwise Exp $ d15 1 a15 1 USE_LANGUAGES+= c++ @ 1.1 log @Convert this package to use bsd.options.mk, with one option, `szip'. This allows szip support (which uses a package with a no-commercial-use license) to be disabled. @ text @d1 1 a1 1 # $NetBSD: options.mk,v 1.4 2004/12/22 21:46:25 jlam Exp $ d4 1 a4 1 PKG_SUPPORTED_OPTIONS= szip d13 13 @