3 PKG_OPTIONS_VAR
=PKG_OPTIONS.hdf5
4 PKG_SUPPORTED_OPTIONS
= szip threads
5 # szip is non-Free, so leave out by default
8 .
include "../../mk/bsd.options.mk"
10 .if
!empty
(PKG_OPTIONS
:Mszip
)
11 CONFIGURE_ARGS
+= --with-szlib
12 .
include "../../archivers/szip/buildlink3.mk"
15 .if
!empty
(PKG_OPTIONS
:Mthreads
)
16 CONFIGURE_ARGS
+= --enable-threadsafe
17 # XXX libraries should not be linked against -lpthread
18 .
include "../../mk/pthread.buildlink3.mk"