pkgsrc/math/octave/options.mk

32 lines
693 B
Makefile
Raw Normal View History

# $NetBSD: options.mk,v 1.3 2008/01/11 01:23:43 adam Exp $
2005-04-01 12:15:46 +02:00
PKG_OPTIONS_VAR= PKG_OPTIONS.octave
PKG_SUPPORTED_OPTIONS= glpk hdf5 pcre qhull
PKG_SUGGESTED_OPTIONS= glpk hdf5 pcre qhull
2005-04-01 12:15:46 +02:00
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mglpk)
.include "../../math/glpk/buildlink3.mk"
.else
CONFIGURE_ARGS+= --without-glpk
.endif
2005-04-01 12:15:46 +02:00
.if !empty(PKG_OPTIONS:Mhdf5)
.include "../../devel/hdf5/buildlink3.mk"
.else
CONFIGURE_ARGS+= --without-hdf5
.endif
.if !empty(PKG_OPTIONS:Mpcre)
.include "../../devel/pcre/buildlink3.mk"
.else
CONFIGURE_ARGS+= --without-pcre
.endif
.if !empty(PKG_OPTIONS:Mqhull)
.include "../../math/qhull/buildlink3.mk"
.else
CONFIGURE_ARGS+= --without-qhull
.endif