Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Feb 2003 01:42:09 +0100 (CET)
From:      Alex Dupre <sysadmin@alexdupre.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/48023: [New Feature] Enable MPFR in GMP4
Message-ID:  <200302070042.h170g9EA046381@vaio.alexdupre.com>

next in thread | raw e-mail | index | archive | help

>Number:         48023
>Category:       ports
>Synopsis:       [New Feature] Enable MPFR in GMP4
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 06 16:40:00 PST 2003
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:

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




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