Revision: 144202 https://trac.macports.org/changeset/144202 Author: mojca@macports.org Date: 2016-01-04 10:45:53 -0800 (Mon, 04 Jan 2016) Log Message: ----------- gnuplot: avoid opportunistically linking against GTK2 (closes #50199) Modified Paths: -------------- trunk/dports/math/gnuplot/files/patch-configure.diff Modified: trunk/dports/math/gnuplot/files/patch-configure.diff =================================================================== --- trunk/dports/math/gnuplot/files/patch-configure.diff 2016-01-04 18:01:27 UTC (rev 144201) +++ trunk/dports/math/gnuplot/files/patch-configure.diff 2016-01-04 18:45:53 UTC (rev 144202) @@ -1,5 +1,14 @@ --- configure.orig +++ configure +@@ -13756,7 +13756,7 @@ else + GTK_LIBS=$pkg_cv_GTK_LIBS + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 + $as_echo "yes" >&6; } +- have_gtk=yes ++ have_gtk=no + fi + if test "${have_gtk}" = yes ; then + @@ -14634,6 +14634,7 @@ fi if test "${enable_qt_ok}" = yes \ || test "${enable_wxwidgets_ok}" = yes \ @@ -10,6 +19,15 @@ fi # --- configure.in.orig # +++ configure.in +# @@ -1076,7 +1076,7 @@ if test "${enable_wxwidgets_ok}" = yes ; then +# AC_FUNC_FORK +# +# dnl Check for gtk (raise/lower tweaks) +# - PKG_CHECK_MODULES(GTK, [gtk+-2.0], have_gtk=yes, have_gtk=no) +# + PKG_CHECK_MODULES(GTK, [gtk+-2.0], have_gtk=no, have_gtk=no) +# if test "${have_gtk}" = yes ; then +# AC_DEFINE(HAVE_GTK, 1, [Define to use gtk/gdk tweaks]) +# WX_CXXFLAGS="$WX_CXXFLAGS $GTK_CFLAGS" # @@ -1273,6 +1273,7 @@ dnl build mouse support if any mouse-requiring terminal is selected # if test "${enable_qt_ok}" = yes \ # || test "${enable_wxwidgets_ok}" = yes \