summaryrefslogtreecommitdiff
path: root/math/octave
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2010-06-02 18:35:38 +0000
committeradam <adam@pkgsrc.org>2010-06-02 18:35:38 +0000
commit9b7a8e9fd9afb8af6cb6153ccd54a202b9e14fdb (patch)
treefeeb0f31ae6acd041c837cab738284c9e232ebe9 /math/octave
parent7f0c94fb2478e3010a0bf5accbbbbd9048f21363 (diff)
downloadpkgsrc-9b7a8e9fd9afb8af6cb6153ccd54a202b9e14fdb.tar.gz
Added graphicsmagick as an option, fixing PR#43218
Diffstat (limited to 'math/octave')
-rw-r--r--math/octave/options.mk10
1 files changed, 8 insertions, 2 deletions
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