Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Mar 2001 13:36:27 +0900
From:      Jun Kuriyama <kuriyama@imgsrc.co.jp>
To:        demon@FreeBSD.org
Cc:        freebsd-ports@FreeBSD.org
Subject:   Re: ports/25750: rrdtool port fails to build with -ffast-math -mfancy-math-387
Message-ID:  <7mg0g1m9is.wl@waterblue.imgsrc.co.jp>
In-Reply-To: <200103221150.f2MBo3740764@freefall.freebsd.org>
References:  <200103221150.f2MBo3740764@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--Multipart_Mon_Mar_26_13:36:27_2001-1
Content-Type: text/plain; charset=US-ASCII

At 22 Mar 2001 11:50:14 GMT,
Peter Pentchev wrote:
>  Maybe the rrdtool port Makefile should check for -ffast-math in CFLAGS,
>  and warn the user / cancel the build / just remove it?

How about this?


-- 
Jun Kuriyama <kuriyama@imgsrc.co.jp> // IMG SRC, Inc.
             <kuriyama@FreeBSD.org> // FreeBSD Project

--Multipart_Mon_Mar_26_13:36:27_2001-1
Content-Type: application/octet-stream; type=patch
Content-Disposition: attachment; filename="rrdtool.diff"
Content-Transfer-Encoding: 7bit

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/net/rrdtool/Makefile,v
retrieving revision 1.18
diff -u -r1.18 Makefile
--- Makefile	2001/02/22 10:42:16	1.18
+++ Makefile	2001/03/26 04:30:20
@@ -20,6 +20,7 @@
 INSTALLS_SHLIB=	yes
 CONFIGURE_ARGS=	--enable-shared=yes
 CONFIGURE_ENV=	PERL=${PERL}
+CFLAGS!=	${ECHO} ${CFLAGS:N-ffast-math}
 
 MAN1=		RRDp.1 RRDs.1 bin_dec_hex.1 rrdcgi.1 rrdcreate.1 rrddump.1 \
 		rrdfetch.1 rrdgraph.1 rrdlast.1 rrdresize.1 rrdrestore.1 \

--Multipart_Mon_Mar_26_13:36:27_2001-1--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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