841dfa0e7a
through PLIST_SUBST to the plist module.
25 lines
555 B
Makefile
25 lines
555 B
Makefile
# $NetBSD: options.mk,v 1.4 2008/04/12 22:42:59 jlam Exp $
|
|
|
|
PKG_OPTIONS_VAR=PKG_OPTIONS.hdf5
|
|
PKG_SUPPORTED_OPTIONS= szip cxx threads
|
|
PKG_SUGGESTED_OPTIONS= szip
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
PLIST_VARS+= cxx
|
|
|
|
.if !empty(PKG_OPTIONS:Mszip)
|
|
CONFIGURE_ARGS+= --with-szlib
|
|
.include "../../archivers/szip/buildlink3.mk"
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mcxx)
|
|
USE_LANGUAGES= c c++
|
|
CONFIGURE_ARGS+= --enable-cxx
|
|
PLIST.cxx= yes
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mthreads)
|
|
CONFIGURE_ARGS+= --enable-threadsafe
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
.endif
|