ports/93242: Update port: misc/gretl

KATO Tsuguru tkato432 at yahoo.com
Sun Feb 12 18:10:09 UTC 2006


>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:



More information about the freebsd-ports-bugs mailing list