[Lunar-commits] <moonbase> gnuplot: Version bump. For some reason we do not use ncurses with readline and without

Dennis `stumbles` Veatch stumbles at lunar-linux.org
Tue Nov 9 13:11:33 CET 2010


commit b7cb9aeb4322cc778d7a8f4d69220bb383c63686
Author: Dennis `stumbles` Veatch <stumbles at lunar-linux.org>
Date:   Tue Nov 9 07:11:33 2010 -0500

    gnuplot: Version bump. For some reason we do not use ncurses with readline and without
    
    the LDFLAG the make will fail with an error like that shown here;
    https://sourceforge.net/tracker/index.php?func=detail&aid=3096253&group_id=2055&atid=102055
    
    So adjusting the BUILD accordingly and fleshing out the DEPENDS.
---
 science/gnuplot/BUILD   |    6 ++++--
 science/gnuplot/DEPENDS |    4 +++-
 science/gnuplot/DETAILS |    8 ++++----
 3 files changed, 11 insertions(+), 7 deletions(-)

diff --git a/science/gnuplot/BUILD b/science/gnuplot/BUILD
index 5e1efd4..94a0f4f 100644
--- a/science/gnuplot/BUILD
+++ b/science/gnuplot/BUILD
@@ -1,7 +1,9 @@
 (
 
-    OPTS="$OPTS --without-latex" &&
+  if in_depends $MODULE readline ; then
+    LDFLAGS="-lncurses" 
+  fi &&
 
-    default_build
+  default_build
 
 ) > $C_FIFO 2>&1
diff --git a/science/gnuplot/DEPENDS b/science/gnuplot/DEPENDS
index 34ee555..3598c99 100644
--- a/science/gnuplot/DEPENDS
+++ b/science/gnuplot/DEPENDS
@@ -4,5 +4,7 @@ optional_depends "%X"   "--with-x"   "--without-x"   "Use X window system"
 optional_depends lua    "--with-lua" "--without-lua" "For Lua scripting support"
 optional_depends libggi "--with-ggi" "--without-ggi" "For General Graphics Interface support"
 
-optional_depends PDFlib-Lite "--with-pdf" "--without-pdf" "for PDF file support"
+optional_depends %TEX        "--with-latex"        "--without-latex"         "for latex support"
+optional_depends PDFlib-Lite "--with-pdf"          "--without-pdf"           "for PDF file support"
+optional_depends readline    "--with-readline=gnu" "--with-readline=builtin" "For system or builtin readline support, 'y' for system"
 
diff --git a/science/gnuplot/DETAILS b/science/gnuplot/DETAILS
index 74bd36d..7b44b1c 100644
--- a/science/gnuplot/DETAILS
+++ b/science/gnuplot/DETAILS
@@ -1,13 +1,13 @@
           MODULE=gnuplot
-         VERSION=4.4.0
+         VERSION=4.4.2
           SOURCE=$MODULE-$VERSION.tar.gz
    SOURCE_URL[0]=$SFORGE_URL/$MODULE
-      SOURCE_VFY=sha1:04a2eede7b2af8e64144aa8ffede6535b7a043b5
+      SOURCE_VFY=sha1:35666be22e877ade5e272199d3d81555c141cef5
         WEB_SITE=http://www.gnuplot.info
          ENTERED=20021015
-         UPDATED=20100317
+         UPDATED=20101109
            SHORT="command line program to make scientific graphs"
-
+PSAFE=no
 cat << EOF
 gnuplot is a command-driven interactive function plotting program. It can be
 used to plot functions and data points in both two- and three-dimensional plots


More information about the Lunar-commits mailing list