pkgsrc/math/octave-current/options.mk
drochner 95a329b89e update to 2.9.14 (pre-release for 3.0)
too many changes to list here
pkgsrc changes:
-add use of pcre and qhull to options, and include
 both in the default configuration
-play dirty tricks to make sure GNU sed is used as sed -- there is
 something in the "mkf77def" script which doesn't work with NetBSD sed
2007-09-19 18:09:16 +00:00

31 lines
697 B
Makefile

# $NetBSD: options.mk,v 1.3 2007/09/19 18:09:16 drochner Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.octave
PKG_SUPPORTED_OPTIONS= glpk hdf5 pcre qhull
PKG_SUGGESTED_OPTIONS= glpk hdf5 pcre qhull
.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
.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