diff --git a/math/plplot/patches/patch-configure b/math/plplot/patches/patch-configure index 11c9b8271e0..b4c6e404691 100644 --- a/math/plplot/patches/patch-configure +++ b/math/plplot/patches/patch-configure @@ -1,6 +1,6 @@ -$OpenBSD: patch-configure,v 1.3 2007/04/01 19:43:56 steven Exp $ +$OpenBSD: patch-configure,v 1.4 2007/06/06 09:45:59 steven Exp $ --- configure.orig Tue May 30 01:07:42 2006 -+++ configure Sun Apr 1 21:36:50 2007 ++++ configure Wed Jun 6 13:10:29 2007 @@ -468,7 +468,7 @@ ac_includes_default="\ # include #endif" @@ -45,7 +45,71 @@ $OpenBSD: patch-configure,v 1.3 2007/04/01 19:43:56 steven Exp $ osf3*) case $cc_basename in KCC*) -@@ -22166,7 +22175,7 @@ fi; +@@ -22030,8 +22039,7 @@ echo "$as_me: WARNING: $OCTAVE not found, disabling Oc + # Get Octave version + echo "$as_me:$LINENO: checking Octave version" >&5 + echo $ECHO_N "checking Octave version... $ECHO_C" >&6 +- OCTAVE_VERSION=`$OCTAVE --version | sed 's/^.*version //;q' \ +- | sed 's/ .*$//'` ++ OCTAVE_VERSION=`octave-config -p VERSION` + echo "$as_me:$LINENO: result: $OCTAVE_VERSION" >&5 + echo "${ECHO_T}$OCTAVE_VERSION" >&6 + +@@ -22043,29 +22051,15 @@ echo "${ECHO_T}$OCTAVE_VERSION" >&6 + echo "$as_me:$LINENO: checking Octave prefix" >&5 + echo $ECHO_N "checking Octave prefix... $ECHO_C" >&6 + +-OCTAVE_PREFIX=`$OCTAVE -q -f <&5 + echo "${ECHO_T}$OCTAVE_PREFIX" >&6 + + echo "$as_me:$LINENO: checking Octave m dir" >&5 + echo $ECHO_N "checking Octave m dir... $ECHO_C" >&6 +- if test -n "`echo $OCTAVE_VERSION | sed 's/^2.1//p;d;q'`" ; then +- # Octave version 2.1 + +-OCTAVE_M_DIR=`$OCTAVE -q -f <&6 + + echo "$as_me:$LINENO: checking Octave oct dir" >&5 + echo $ECHO_N "checking Octave oct dir... $ECHO_C" >&6 +- if test -n "`echo $OCTAVE_VERSION | sed 's/^2.1//p;d;q'`" ; then +- # Octave version 2.1 + +-OCTAVE_OCT_DIR=`$OCTAVE -q -f <