From yoshiaki@kt.rim.or.jp  Sat Sep 11 09:53:04 2004
Return-Path: <yoshiaki@kt.rim.or.jp>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 8132B16A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 11 Sep 2004 09:53:04 +0000 (GMT)
Received: from serio.al.rim.or.jp (serio.al.rim.or.jp [202.247.191.123])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 70DDA43D5A
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 11 Sep 2004 09:53:02 +0000 (GMT)
	(envelope-from yoshiaki@kt.rim.or.jp)
Received: from mail1.rim.or.jp
	by serio.al.rim.or.jp (3.7W/HMX-13) id SAA15434;
	Sat, 11 Sep 2004 18:53:00 +0900 (JST)
Received: from singer.tertio.atoll (flets2127.t3.rim.or.jp [202.247.154.127]) by mail1.rim.or.jp (3.7W)
	id SAA07257; Sat, 11 Sep 2004 18:52:59 +0900 (JST)
Received: (from yoshiaki@localhost)
	by singer.tertio.atoll (8.13.1/8.12.9/Submit) id i8B9r70Z001050;
	Sat, 11 Sep 2004 18:53:07 +0900 (JST)
	(envelope-from yoshiaki)
Message-Id: <200409110953.i8B9r70Z001050@singer.tertio.atoll>
Date: Sat, 11 Sep 2004 18:53:07 +0900 (JST)
From: Yoshiaki Uchikawa <yoshiaki@kt.rim.or.jp>
Reply-To: Yoshiaki Uchikawa <yoshiaki@kt.rim.or.jp>
To: FreeBSD-gnats-submit@freebsd.org
Cc: yoshiaki@kt.rim.or.jp
Subject: ports update math/pari
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         71584
>Category:       ports
>Synopsis:       ports update math/pari
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Sep 11 10:00:52 GMT 2004
>Closed-Date:    Fri Oct 15 21:02:13 GMT 2004
>Last-Modified:  Fri Oct 15 21:02:13 GMT 2004
>Originator:     Yoshiaki Uchikawa
>Release:        FreeBSD 6.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD singer.tertio.atoll 6.0-CURRENT FreeBSD 6.0-CURRENT #1: Thu Sep 9 00:00:04 JST 2004 yoshiaki@singer.tertio.atoll:/usr/src/sys/i386/compile/CRUSE i386


	
>Description:
 math/pari
  We can't build pari port with gcc 3.4.2 (current).
>How-To-Repeat:
	
>Fix:

	

diff -ruN pari/Makefile pari_33/Makefile
--- pari/Makefile	Sun Mar  7 14:45:25 2004
+++ pari_33/Makefile	Tue Sep  7 00:02:05 2004
@@ -37,6 +37,12 @@
 
 .include <bsd.port.pre.mk>
 
+.if ${OSVERSION} >= 502126
+USE_GCC= 3.3
+BUILD_DEPENDS= gcc33:${PORTSDIR}/lang/gcc33
+CC= gcc33
+.endif
+
 .if ${ARCH} == "amd64"
 CFLAGS+=	-fPIC
 .endif


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: thierry 
State-Changed-When: Fri Oct 15 20:59:02 GMT 2004 
State-Changed-Why:  

Pari builds fine with gcc version 3.4.2 [FreeBSD] 20040728. 
You can even find a package on 
http://pointyhat.freebsd.org/errorlogs/i386-packages-5-full/math/pari-2.1.5_1.tbz 


http://www.freebsd.org/cgi/query-pr.cgi?pr=71584 
>Unformatted:
