From 9b7a8e9fd9afb8af6cb6153ccd54a202b9e14fdb Mon Sep 17 00:00:00 2001 From: adam Date: Wed, 2 Jun 2010 18:35:38 +0000 Subject: Added graphicsmagick as an option, fixing PR#43218 --- math/octave/options.mk | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'math/octave') diff --git a/math/octave/options.mk b/math/octave/options.mk index 60d7fb1d440..35e3e1ae6f2 100644 --- a/math/octave/options.mk +++ b/math/octave/options.mk @@ -1,7 +1,7 @@ -# $NetBSD: options.mk,v 1.3 2008/01/11 01:23:43 adam Exp $ +# $NetBSD: options.mk,v 1.4 2010/06/02 18:35:38 adam Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.octave -PKG_SUPPORTED_OPTIONS= glpk hdf5 pcre qhull +PKG_SUPPORTED_OPTIONS= glpk graphicsmagick hdf5 pcre qhull PKG_SUGGESTED_OPTIONS= glpk hdf5 pcre qhull .include "../../mk/bsd.options.mk" @@ -12,6 +12,12 @@ PKG_SUGGESTED_OPTIONS= glpk hdf5 pcre qhull CONFIGURE_ARGS+= --without-glpk .endif +.if !empty(PKG_OPTIONS:Mgraphicsmagick) +.include "../../graphics/GraphicsMagick/buildlink3.mk" +.else +CONFIGURE_ENV+= ac_cv_prog_MAGICK_CONFIG=no +.endif + .if !empty(PKG_OPTIONS:Mhdf5) .include "../../devel/hdf5/buildlink3.mk" .else -- cgit v1.2.3