diff options
author | lawrance <lawrance@FreeBSD.org> | 2006-02-13 18:03:26 +0800 |
---|---|---|
committer | lawrance <lawrance@FreeBSD.org> | 2006-02-13 18:03:26 +0800 |
commit | 9deed2912a8545c77074cdd3c442e7bcbfbf0359 (patch) | |
tree | 760cca540880627ff7ac133225e74d85072a5a9b /misc | |
parent | 4392e7bc2f2567e8997084cac088003178763ecf (diff) | |
download | freebsd-ports-gnome-9deed2912a8545c77074cdd3c442e7bcbfbf0359.tar.gz freebsd-ports-gnome-9deed2912a8545c77074cdd3c442e7bcbfbf0359.tar.zst freebsd-ports-gnome-9deed2912a8545c77074cdd3c442e7bcbfbf0359.zip |
Unbreak - disable configure check for gnuplot.
PR: ports/93242
Submitted by: Ports Fury
Diffstat (limited to 'misc')
-rw-r--r-- | misc/gretl/Makefile | 4 | ||||
-rw-r--r-- | misc/gretl/files/patch-configure | 30 |
2 files changed, 31 insertions, 3 deletions
diff --git a/misc/gretl/Makefile b/misc/gretl/Makefile index ddd79dfc38c5..a0b76ca139cd 100644 --- a/misc/gretl/Makefile +++ b/misc/gretl/Makefile @@ -20,15 +20,13 @@ LIB_DEPENDS= lapack.3:${PORTSDIR}/math/lapack \ gmp.6:${PORTSDIR}/math/libgmp4 RUN_DEPENDS= gnuplot:${PORTSDIR}/math/gnuplot -BROKEN= Configure fails - USE_BZIP2= yes USE_X_PREFIX= yes WANT_GNOME= yes 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 --git a/misc/gretl/files/patch-configure b/misc/gretl/files/patch-configure new file mode 100644 index 000000000000..984588eccc50 --- /dev/null +++ b/misc/gretl/files/patch-configure @@ -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 + + + |