Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Feb 2006 03:00:33 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/93242: Update port: misc/gretl
Message-ID:  <20060213030033.30a0ce76.tkato432@yahoo.com>
Resent-Message-ID: <200602121810.k1CIA4if096274@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         93242
>Category:       ports
>Synopsis:       Update port: misc/gretl
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb 12 18:10:04 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.11-RELEASE-p14 i386
>Organization:
>Environment:
>Description:
- Disable checking gnuplot configuration

New file:
files/patch-configure

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/misc/gretl/Makefile misc/gretl/Makefile
--- /usr/ports/misc/gretl/Makefile	Sat Jan 21 03:13:12 2006
+++ misc/gretl/Makefile	Wed Feb  8 23:01:31 2006
@@ -26,7 +26,7 @@
 USE_GNOME=	gnometarget gtk20 libxml2
 USE_GMAKE=	yes
 GNU_CONFIGURE=	yes
-CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
+CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include -DGNUPLOT_PNG" \
 		LDFLAGS="-L${LOCALBASE}/lib"
 CONFIGURE_ARGS=	--enable-static --enable-shared --with-gmake
 ALL_TARGET=	# empty
diff -urN /usr/ports/misc/gretl/files/patch-configure misc/gretl/files/patch-configure
--- /usr/ports/misc/gretl/files/patch-configure	Thu Jan  1 09:00:00 1970
+++ misc/gretl/files/patch-configure	Wed Feb  8 13:36:39 2006
@@ -0,0 +1,30 @@
+--- configure.orig	Tue Dec 13 22:30:07 2005
++++ configure	Wed Feb  8 13:36:33 2006
+@@ -24725,27 +24725,6 @@
+   have_gnuplot=yes
+ fi
+ 
+-gnuplot_png=no
+-if test "$build_gui" = "yes" ; then
+-  echo "$as_me:$LINENO: checking for PNG support in gnuplot" >&5
+-echo $ECHO_N "checking for PNG support in gnuplot... $ECHO_C" >&6
+-  echo "set term png" | `which gnuplot` 2>/dev/null && gnuplot_png=yes
+-  if test "$gnuplot_png" = yes ; then
+-    echo "$as_me:$LINENO: result: yes" >&5
+-echo "${ECHO_T}yes" >&6
+-    cat >>confdefs.h <<\_ACEOF
+-#define GNUPLOT_PNG 1
+-_ACEOF
+-
+-  else
+-    echo "$as_me:$LINENO: result: no" >&5
+-echo "${ECHO_T}no" >&6
+-    echo
+-    echo "* gretl needs PNG support in gnuplot."
+-    echo "* The current version of gnuplot is available from www.gnuplot.info"
+-    exit
+-  fi
+-fi
+ 
+ 
+ 
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060213030033.30a0ce76.tkato432>