blob: 40d0a60c82a74d2de4384a0b563a91ae4a5edc45 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
# $NetBSD: options.mk,v 1.7 2011/10/07 10:38:50 alnsn Exp $
PKG_OPTIONS_VAR=PKG_OPTIONS.hdf5
PKG_SUPPORTED_OPTIONS= szip threads
# szip is non-Free, so leave out by default
PKG_SUGGESTED_OPTIONS=
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mszip)
CONFIGURE_ARGS+= --with-szlib
.include "../../archivers/szip/buildlink3.mk"
.endif
.if !empty(PKG_OPTIONS:Mthreads)
CONFIGURE_ARGS+= --enable-threadsafe
# XXX libraries should not be linked against -lpthread
.include "../../mk/pthread.buildlink3.mk"
.endif
|