f81ae835ad
user settable variable. Set PKG_SUGGESTED_OPTIONS instead. Also, make use of PKG_OPTIONS_LEGACY_VARS. Reviewed by wiz.
19 lines
434 B
Makefile
19 lines
434 B
Makefile
# $NetBSD: options.mk,v 1.2 2005/05/31 10:01:38 dillo Exp $
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.octave
|
|
PKG_SUPPORTED_OPTIONS= glpk hdf5
|
|
PKG_SUGGESTED_OPTIONS= glpk hdf5
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
.if !empty(PKG_OPTIONS:Mglpk)
|
|
.include "../../math/glpk/buildlink3.mk"
|
|
.else
|
|
CONFIGURE_ARGS+= --without-glpk
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mhdf5)
|
|
.include "../../devel/hdf5/buildlink3.mk"
|
|
.else
|
|
CONFIGURE_ARGS+= --without-hdf5
|
|
.endif
|