svn commit: r315259 - in head/math/gnuplot: . files

Greg Lewis glewis at FreeBSD.org
Tue Mar 26 06:06:31 UTC 2013


Author: glewis
Date: Tue Mar 26 06:06:30 2013
New Revision: 315259
URL: http://svnweb.freebsd.org/changeset/ports/315259

Log:
  . Make gnuplot compile with clang and hence remove the GCC requirement.
  
  Submitted by:	tijl@

Added:
  head/math/gnuplot/files/patch-configure   (contents, props changed)
Modified:
  head/math/gnuplot/Makefile

Modified: head/math/gnuplot/Makefile
==============================================================================
--- head/math/gnuplot/Makefile	Tue Mar 26 05:38:32 2013	(r315258)
+++ head/math/gnuplot/Makefile	Tue Mar 26 06:06:30 2013	(r315259)
@@ -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>

Added: head/math/gnuplot/files/patch-configure
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/gnuplot/files/patch-configure	Tue Mar 26 06:06:30 2013	(r315259)
@@ -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"}


More information about the svn-ports-head mailing list