From alex@vaio.alexdupre.com  Thu Feb  6 16:32:28 2003
Return-Path: <alex@vaio.alexdupre.com>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 5EAC537B401
	for <FreeBSD-gnats-submit@freebsd.org>; Thu,  6 Feb 2003 16:32:28 -0800 (PST)
Received: from vaio.alexdupre.com (212-41-211-209.adsl.galactica.it [212.41.211.209])
	by mx1.FreeBSD.org (Postfix) with ESMTP id ABCCB43F75
	for <FreeBSD-gnats-submit@freebsd.org>; Thu,  6 Feb 2003 16:32:21 -0800 (PST)
	(envelope-from alex@vaio.alexdupre.com)
Received: from vaio.alexdupre.com (localhost [127.0.0.1])
	by vaio.alexdupre.com (8.12.2/8.12.2) with ESMTP id h170gAWs046382
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 7 Feb 2003 01:42:10 +0100 (CET)
	(envelope-from alex@vaio.alexdupre.com)
Received: (from alex@localhost)
	by vaio.alexdupre.com (8.12.2/8.12.2/Submit) id h170g9EA046381;
	Fri, 7 Feb 2003 01:42:09 +0100 (CET)
Message-Id: <200302070042.h170g9EA046381@vaio.alexdupre.com>
Date: Fri, 7 Feb 2003 01:42:09 +0100 (CET)
From: Alex Dupre <sysadmin@alexdupre.com>
Reply-To: Alex Dupre <sysadmin@alexdupre.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [New Feature] Enable MPFR in GMP4
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         48023
>Category:       ports
>Synopsis:       [New Feature] Enable MPFR in GMP4
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 06 16:40:00 PST 2003
>Closed-Date:    Mon Feb 24 18:51:30 PST 2003
>Last-Modified:  Mon Feb 24 18:51:30 PST 2003
>Originator:     Alex Dupre
>Release:        FreeBSD 4.5-ALEXDUPRE i386
>Organization:
>Environment:
System: FreeBSD vaio.alexdupre.com 4.5-ALEXDUPRE FreeBSD 4.5-ALEXDUPRE #0: Fri Apr 12 14:12:57 CEST 2002 alex@vaio.alexdupre.com:/usr/obj/usr/src/sys/VAIO i386


	
>Description:
Enable building of MPFR, a C library for multiple-precision floating-point
computations with exact rounding, in GMP.
	
>How-To-Repeat:
	
>Fix:

	

--- libgmp4.diff begins here ---
diff -ruN libgmp4.orig/Makefile libgmp4/Makefile
--- libgmp4.orig/Makefile	Fri Feb  7 01:03:11 2003
+++ libgmp4/Makefile	Fri Feb  7 01:37:09 2003
@@ -8,6 +8,7 @@
 
 PORTNAME=	libgmp
 PORTVERSION=	4.1.2
+PORTREVISION=	1
 CATEGORIES=	math devel
 MASTER_SITES=	${MASTER_SITE_GNU}
 MASTER_SITE_SUBDIR=	gmp
@@ -18,7 +19,7 @@
 USE_REINPLACE=	yes
 USE_LIBTOOL=	yes
 CONFIGURE_TARGET=	--build=${ARCH}-portbld-freebsd${OSREL}
-CONFIGURE_ARGS=	--enable-cxx
+CONFIGURE_ARGS=	--enable-cxx --enable-mpfr
 INSTALLS_SHLIB=	yes
 
 post-patch:
diff -ruN libgmp4.orig/pkg-plist libgmp4/pkg-plist
--- libgmp4.orig/pkg-plist	Fri Feb  7 01:03:11 2003
+++ libgmp4/pkg-plist	Fri Feb  7 01:16:38 2003
@@ -1,5 +1,8 @@
 include/gmp.h
 include/gmpxx.h
+include/mpf2mpfr.h
+include/mpfr.h
+include/mpfrxx.h
 @unexec install-info --delete %D/info/gmp.info %D/info/dir
 info/gmp.info
 info/gmp.info-1
@@ -12,9 +15,13 @@
 info/gmp.info-8
 info/gmp.info-9
 @exec install-info %D/info/gmp.info %D/info/dir
+@unexec install-info --delete %D/info/mpfr.info %D/info/dir
+info/mpfr.info
+@exec install-info %D/info/mpfr.info %D/info/dir
 lib/libgmp.a
 lib/libgmp.so
 lib/libgmp.so.6
 lib/libgmpxx.a
 lib/libgmpxx.so
 lib/libgmpxx.so.3
+lib/libmpfr.a
--- libgmp4.diff ends here ---


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: ijliao 
State-Changed-When: Mon Feb 24 18:51:18 PST 2003 
State-Changed-Why:  
superseded by pr/48640 

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