aboutsummaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorSam Lawrance <lawrance@FreeBSD.org>2006-02-13 10:03:26 +0000
committerSam Lawrance <lawrance@FreeBSD.org>2006-02-13 10:03:26 +0000
commitb525526dcec4b299c7736bf4210c10138228485b (patch)
treee580df3f5cdb4099f657bafd1811a38e76f6563c /misc
parent5603364c7eda988f64479373484cb34f37fccc6d (diff)
downloadports-b525526dcec4b299c7736bf4210c10138228485b.tar.gz
ports-b525526dcec4b299c7736bf4210c10138228485b.zip
Notes
Diffstat (limited to 'misc')
-rw-r--r--misc/gretl/Makefile4
-rw-r--r--misc/gretl/files/patch-configure30
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
+
+
+