Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Mar 2013 06:06:31 +0000 (UTC)
From:      Greg Lewis <glewis@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r315259 - in head/math/gnuplot: . files
Message-ID:  <201303260606.r2Q66VxU032751@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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"}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201303260606.r2Q66VxU032751>