summaryrefslogtreecommitdiff
path: root/graphics/gnuplot
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2011-04-29 11:41:07 +0000
committerobache <obache@pkgsrc.org>2011-04-29 11:41:07 +0000
commitc87fc296dbaf7d592d64d91a1598ef3b194f3c21 (patch)
treea7bd32a6d594c90c53ccd10f3d8548c00ee65a9c /graphics/gnuplot
parent60b17139db54fd68d6c9d7a4a85d34d11ea839dd (diff)
downloadpkgsrc-c87fc296dbaf7d592d64d91a1598ef3b194f3c21.tar.gz
Let lua support optionify, and exactly control it (disabled by default).
PR#44916.
Diffstat (limited to 'graphics/gnuplot')
-rw-r--r--graphics/gnuplot/options.mk10
1 files changed, 8 insertions, 2 deletions
diff --git a/graphics/gnuplot/options.mk b/graphics/gnuplot/options.mk
index 7400735c3d3..661c73efc00 100644
--- a/graphics/gnuplot/options.mk
+++ b/graphics/gnuplot/options.mk
@@ -1,7 +1,7 @@
-# $NetBSD: options.mk,v 1.3 2011/03/10 09:44:10 drochner Exp $
+# $NetBSD: options.mk,v 1.4 2011/04/29 11:41:07 obache Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.gnuplot
-PKG_SUPPORTED_OPTIONS= gd pdf x11
+PKG_SUPPORTED_OPTIONS= gd lua pdf x11
PKG_SUGGESTED_OPTIONS= gd x11
.include "../../mk/bsd.options.mk"
@@ -12,6 +12,12 @@ PLIST_VARS+= x11
.include "../../graphics/gd/buildlink3.mk"
.endif
+.if !empty(PKG_OPTIONS:Mlua)
+.include "../../lang/lua/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --without-lua
+.endif
+
# PDF output is also provided by cairo
.if !empty(PKG_OPTIONS:Mpdf)
CONFIGURE_ARGS+= --with-pdf