mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
Unbreak - disable configure check for gnuplot.
PR: ports/93242 Submitted by: Ports Fury
This commit is contained in:
parent
5603364c7e
commit
b525526dce
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=155914
@ -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
|
||||
|
30
math/gretl/files/patch-configure
Normal file
30
math/gretl/files/patch-configure
Normal file
@ -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
|
||||
|
||||
|
||||
|
@ -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
|
||||
|
30
misc/gretl/files/patch-configure
Normal file
30
misc/gretl/files/patch-configure
Normal file
@ -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
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user