aboutsummaryrefslogtreecommitdiff
path: root/math/gnuplot
diff options
context:
space:
mode:
authorGreg Lewis <glewis@FreeBSD.org>2013-03-26 06:06:30 +0000
committerGreg Lewis <glewis@FreeBSD.org>2013-03-26 06:06:30 +0000
commit0c3e29c01275ab42268bed7d893e0539df58b106 (patch)
treed4edf6d099e07863d3dad792296a7d729916f357 /math/gnuplot
parentbde5cd9e44808bf430e406ba31ea3713b09bad92 (diff)
downloadports-0c3e29c01275ab42268bed7d893e0539df58b106.tar.gz
ports-0c3e29c01275ab42268bed7d893e0539df58b106.zip
Notes
Diffstat (limited to 'math/gnuplot')
-rw-r--r--math/gnuplot/Makefile3
-rw-r--r--math/gnuplot/files/patch-configure11
2 files changed, 12 insertions, 2 deletions
diff --git a/math/gnuplot/Makefile b/math/gnuplot/Makefile
index 106b22db879b..873ca6e17b5a 100644
--- a/math/gnuplot/Makefile
+++ b/math/gnuplot/Makefile
@@ -2,6 +2,7 @@
PORTNAME= gnuplot
PORTVERSION= 4.6.2
+PORTREVISION= 1
CATEGORIES= math graphics
MASTER_SITES= SF
@@ -30,8 +31,6 @@ X11_DESC= Enable X11 support
OPTIONS_DEFAULT=CAIRO GD PDF PLOT TETEX WX X11
-USE_GCC= any
-
MAN1= gnuplot.1 lasergnu.1
.include <bsd.port.options.mk>
diff --git a/math/gnuplot/files/patch-configure b/math/gnuplot/files/patch-configure
new file mode 100644
index 000000000000..8d0a38c707c9
--- /dev/null
+++ b/math/gnuplot/files/patch-configure
@@ -0,0 +1,11 @@
+--- configure.orig
++++ configure
+@@ -5919,7 +5919,7 @@
+ fi
+
+
+-if test "${build}" != "${host}"
++if test "$cross_compiling" != no
+ then
+ CC=${CC-${host_alias-gcc}}
+ CFLAGS=${CFLAGS-"-g -O2"}