pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/math/octave Added graphicsmagick as an option, fixing ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d3b2f12b5040
branches:  trunk
changeset: 576164:d3b2f12b5040
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed Jun 02 18:35:38 2010 +0000

description:
Added graphicsmagick as an option, fixing PR#43218

diffstat:

 math/octave/options.mk |  10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 1d518cdd8496 -r d3b2f12b5040 math/octave/options.mk
--- a/math/octave/options.mk    Wed Jun 02 18:33:47 2010 +0000
+++ b/math/octave/options.mk    Wed Jun 02 18:35:38 2010 +0000
@@ -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 @@
 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



Home | Main Index | Thread Index | Old Index