From owner-freebsd-ports Mon Jan 4 22:30:09 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA06402 for freebsd-ports-outgoing; Mon, 4 Jan 1999 22:30:09 -0800 (PST) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA06393 for ; Mon, 4 Jan 1999 22:30:07 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id WAA14823; Mon, 4 Jan 1999 22:30:00 -0800 (PST) Received: (from nobody@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA05912; Mon, 4 Jan 1999 22:22:19 -0800 (PST) (envelope-from nobody) Message-Id: <199901050622.WAA05912@hub.freebsd.org> Date: Mon, 4 Jan 1999 22:22:19 -0800 (PST) From: oota@POBoxes.com To: freebsd-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: www-1.0 Subject: ports/9322: port: gnu multi pricision library 2.0.2 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 9322 >Category: ports >Synopsis: port: gnu multi pricision library 2.0.2 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Jan 4 22:30:00 PST 1999 >Closed-Date: >Last-Modified: >Originator: HIROSHI OOTA >Release: 2.2.7-RELEASE, 3.0-RELEASE >Organization: >Environment: >Description: >How-To-Repeat: >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # math/libgmp # math/libgmp/pkg # math/libgmp/pkg/COMMENT # math/libgmp/pkg/DESCR # math/libgmp/pkg/PLIST # math/libgmp/Makefile # math/libgmp/files # math/libgmp/files/md5 # math/libgmp/patches # math/libgmp/patches/patch-aa # math/libgmp/patches/patch-ac # math/libgmp/patches/patch-ad # math/libgmp/patches/patch-ab # echo c - math/libgmp mkdir -p math/libgmp > /dev/null 2>&1 echo c - math/libgmp/pkg mkdir -p math/libgmp/pkg > /dev/null 2>&1 echo x - math/libgmp/pkg/COMMENT sed 's/^X//' >math/libgmp/pkg/COMMENT << 'END-of-math/libgmp/pkg/COMMENT' XA gnu multi precision library END-of-math/libgmp/pkg/COMMENT echo x - math/libgmp/pkg/DESCR sed 's/^X//' >math/libgmp/pkg/DESCR << 'END-of-math/libgmp/pkg/DESCR' XGNU MP is a library for arbitrary precision arithmetic, operating on signed Xintegers, rational numbers, and floating point numbers. It has a rich set Xof functions, and the functions have a regular interface. X XGNU MP is designed to be as fast as possible, both for small operands and for Xhuge operands. The speed is achieved by using fullwords as the basic Xarithmetic type, by using fast algorithms, by carefully optimized assembly Xcode for the most common inner loops for a lots of CPUs, and by a general Xemphasis on speed (instead of simplicity or elegance). X XThe speed of GNU MP is believed to be faster than any other similar library. XThe advantage for GNU MP increases with the operand sizes for certain Xoperations, since GNU MP in many cases has asymptotically faster algorithms. X X-- XHiroshi Oota Xoota@POBoxes.com END-of-math/libgmp/pkg/DESCR echo x - math/libgmp/pkg/PLIST sed 's/^X//' >math/libgmp/pkg/PLIST << 'END-of-math/libgmp/pkg/PLIST' Xinclude/gmp.h Xinclude/longlong.h X@unexec rmdir %D/include 2>/dev/null || true X@unexec install-info --delete %D/info/gmp.info %D/info/dir Xinfo/gmp.info Xinfo/gmp.info-1 Xinfo/gmp.info-2 Xinfo/gmp.info-3 X@exec install-info %D/info/gmp.info %D/info/dir Xlib/libgmp.a END-of-math/libgmp/pkg/PLIST echo x - math/libgmp/Makefile sed 's/^X//' >math/libgmp/Makefile << 'END-of-math/libgmp/Makefile' X# New ports collection makefile for: gmp X# Version required: 2.0.2 X# Date created: 31 December 1998 X# Whom: oota X# X# $Id$ X# X XDISTNAME= gmp-2.0.2 XCATEGORIES= math XMASTER_SITES= ${MASTER_SITE_GNU} X XMAINTAINER= oota@POBoxes.com X XGNU_CONFIGURE= yes X.include END-of-math/libgmp/Makefile echo c - math/libgmp/files mkdir -p math/libgmp/files > /dev/null 2>&1 echo x - math/libgmp/files/md5 sed 's/^X//' >math/libgmp/files/md5 << 'END-of-math/libgmp/files/md5' XMD5 (gmp-2.0.2.tar.gz) = 20f6714665fd2b58d2c280513f5c204d END-of-math/libgmp/files/md5 echo c - math/libgmp/patches mkdir -p math/libgmp/patches > /dev/null 2>&1 echo x - math/libgmp/patches/patch-aa sed 's/^X//' >math/libgmp/patches/patch-aa << 'END-of-math/libgmp/patches/patch-aa' X--- ./mpn/bsd.h- Wed May 8 16:10:50 1996 X+++ ./mpn/bsd.h Tue Dec 29 23:21:58 1998 X@@ -1,5 +1,9 @@ X+#ifndef __ELF__ X #if __STDC__ X #define C_SYMBOL_NAME(name) _##name X #else X #define C_SYMBOL_NAME(name) _/**/name X+#endif X+#else X+#define C_SYMBOL_NAME(name) name X #endif END-of-math/libgmp/patches/patch-aa echo x - math/libgmp/patches/patch-ac sed 's/^X//' >math/libgmp/patches/patch-ac << 'END-of-math/libgmp/patches/patch-ac' X--- ./longlong.h- Fri May 24 15:34:24 1996 X+++ ./longlong.h Wed Dec 30 21:28:08 1998 X@@ -1292,7 +1292,7 @@ X } while (0) X #endif X X-#if !defined (umul_ppmm) X+#if !defined (smul_ppmm) X #define smul_ppmm(w1, w0, u, v) \ X do { \ X UWtype __w1; \ END-of-math/libgmp/patches/patch-ac echo x - math/libgmp/patches/patch-ad sed 's/^X//' >math/libgmp/patches/patch-ad << 'END-of-math/libgmp/patches/patch-ad' X--- ./Makefile.in- Fri Jun 7 03:21:19 1996 X+++ ./Makefile.in Wed Dec 30 21:31:46 1998 X@@ -142,6 +142,8 @@ X -chmod a-x $(libdir)/libgmp.a X $(INSTALL_DATA) $(srcdir)/gmp.h $(includedir)/gmp.h X -chmod a-x $(includedir)/gmp.h X+ $(INSTALL_DATA) $(srcdir)/longlong.h $(includedir)/longlong.h X+ -chmod a-x $(includedir)/longlong.h X install-bsdmp: installdirs libmp.a gmp.info install-info-files X $(INSTALL_DATA) libmp.a $(libdir)/libmp.a X -chmod a-x $(libdir)/libmp.a END-of-math/libgmp/patches/patch-ad echo x - math/libgmp/patches/patch-ab sed 's/^X//' >math/libgmp/patches/patch-ab << 'END-of-math/libgmp/patches/patch-ab' X--- ./mpn/configure.in- Tue Jun 4 14:52:01 1996 X+++ ./mpn/configure.in Tue Dec 29 23:09:40 1998 X@@ -38,6 +38,10 @@ X a29k*-*-*) path="am29000" ;; X X # Intel x86 configurations X+ i[34]86*-*-freebsd3*) X+ echo '#define ELF_SYNTAX' >asm-syntax.h X+ echo '#include "'$srcdir'/x86/syntax.h"' >>asm-syntax.h X+ path="x86" ;; X i[34]86*-*-linuxaout* | i[34]86*-*-linuxoldld* | \ X i[34]86*-*-*bsd*) # x86 running BSD or Linux with a.out X echo '#define BSD_SYNTAX' >asm-syntax.h X@@ -114,6 +118,9 @@ X esac X X case "${target}" in X+ i[3456]86*-*-freebsd3.*) X+# target_makefile_frag=config/t-gas ;; X+ ;; X i[3456]86*-*-*bsd* | i[3456]86*-*-linuxaout* | i[3456]86*-*-linuxoldld* | \ X pentium-*-*bsd* | pentium-*-linuxaout* | pentium-*-linuxoldld* | \ X pentiumpro-*-*bsd* | pentiumpro-*-linuxaout* | pentiumpro-*-linuxoldld*) END-of-math/libgmp/patches/patch-ab exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message