blob: 31625e1ddc4965bfbc04b23effad718fff002c3b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# $NetBSD: options.mk,v 1.2 2006/01/04 06:05:44 recht Exp $
PKG_OPTIONS_VAR=PKG_OPTIONS.hdf5
PKG_SUPPORTED_OPTIONS= szip cxx threads
PKG_SUGGESTED_OPTIONS= szip
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mszip)
CONFIGURE_ARGS+= --with-szlib
.include "../../archivers/szip/buildlink3.mk"
.endif
.if !empty(PKG_OPTIONS:Mcxx)
USE_LANGUAGES+= c++
CONFIGURE_ARGS+= --enable-cxx
PLIST_SUBST+= CXX=
.else
PLIST_SUBST+= CXX="@comment "
.endif
.if !empty(PKG_OPTIONS:Mthreads)
CONFIGURE_ARGS+= --enable-threadsafe
.include "../../mk/pthread.buildlink3.mk"
.endif
|