FreeBSD Bugzilla – Attachment 13441 Details for
Bug 25589
New port: ccmath: A mathematics library with many different functions
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
file.shar
file.shar (text/plain), 5.17 KB, created by
George Reid
on 2001-03-07 16:30:01 UTC
(
hide
)
Description:
file.shar
Filename:
MIME Type:
Creator:
George Reid
Created:
2001-03-07 16:30:01 UTC
Size:
5.17 KB
patch
obsolete
># 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: ># ># ccmath ># ccmath/Makefile ># ccmath/distinfo ># ccmath/pkg-descr ># ccmath/pkg-comment ># ccmath/files ># ccmath/files/patch-aa ># ccmath/files/patch-ab ># ccmath/files/patch-ac ># ccmath/pkg-plist ># >echo c - ccmath >mkdir -p ccmath > /dev/null 2>&1 >echo x - ccmath/Makefile >sed 's/^X//' >ccmath/Makefile << 'END-of-ccmath/Makefile' >X# New ports collection makefile for: ccmath >X# Date created: 07 March 2001 >X# Whom: George Reid <greid@ukug.uk.freebsd.org> >X# >X# $FreeBSD$ >X# >X >XPORTNAME= ccmath >XPORTVERSION= 2.2.0 >XCATEGORIES= math >XMASTER_SITES= ${MASTER_SITE_SUNSITE} >XMASTER_SITE_SUBDIR= libs >X >XMAINTAINER= greid@ukug.uk.freebsd.org >X >XINSTALLS_SHLIB= yes >X >XPORTDOCS= C00-intro C01-matrix C02-intg C03-geom C04-cfit C05-roots \ >X C06-fft C07-simu C08-statf C09-sfunc C10-sort C11-tseries \ >X C12-complex C13-xarm C14-util >X >Xpost-configure: >X.if (${MACHINE_ARCH} != "i386") >X (cd ${WRKSRC} && ${SH} non_intel.sh) >X.endif >X >Xdo-build: >X (cd ${WRKSRC} && ${SH} makelibs.sh) >X >Xdo-install: >X ${INSTALL_DATA} ${WRKSRC}/ccmath.h ${PREFIX}/include >X ${INSTALL_DATA} ${WRKSRC}/tmp/libccm.a ${PREFIX}/lib >X ${INSTALL_PROGRAM} ${WRKSRC}/tmp/libccm.so ${PREFIX}/lib >X.if !defined(NOPORTDOCS) >X ${MKDIR} ${PREFIX}/share/doc/ccmath >X.for D in ${PORTDOCS} >X ${INSTALL_DATA} ${WRKSRC}/manual/$D ${PREFIX}/share/doc/ccmath >X.endfor >X.endif >X >X.include <bsd.port.mk> >END-of-ccmath/Makefile >echo x - ccmath/distinfo >sed 's/^X//' >ccmath/distinfo << 'END-of-ccmath/distinfo' >XMD5 (ccmath-2.2.0.tar.gz) = 96d9b148d4dc06dba82441006b39a3d3 >END-of-ccmath/distinfo >echo x - ccmath/pkg-descr >sed 's/^X//' >ccmath/pkg-descr << 'END-of-ccmath/pkg-descr' >XCCMATH is a mathematics library, coded in C, that contains functions >Xfor linear algebra, numerical integration, geometry and trigonometry, >Xcurve fitting, roots and optimization, Fourier analysis, simulation >Xgeneration, statistics, special functions, sorts and searches, time >Xseries models, complex arithmetic, and high precision computations. >X >X- George Reid >Xgreid@ukug.uk.freebsd.org >END-of-ccmath/pkg-descr >echo x - ccmath/pkg-comment >sed 's/^X//' >ccmath/pkg-comment << 'END-of-ccmath/pkg-comment' >XA mathematics library with many different functions >END-of-ccmath/pkg-comment >echo c - ccmath/files >mkdir -p ccmath/files > /dev/null 2>&1 >echo x - ccmath/files/patch-aa >sed 's/^X//' >ccmath/files/patch-aa << 'END-of-ccmath/files/patch-aa' >X--- non_intel.sh.orig Wed Mar 7 16:13:59 2001 >X+++ non_intel.sh Wed Mar 7 16:14:20 2001 >X@@ -13,9 +13,5 @@ >X rm $MDR/simu/*.s >X echo " .s code replaced in simu" >X echo >X-echo " bigendian byte order (y/n)" >X-read F >X-if [ $F = "y" ] >X- then cp $MDR/xarm/supp/big-end/*.c $MDR/xarm >X- echo " bigend code installed in xarm" >X-fi >X+cp $MDR/xarm/supp/big-end/*.c $MDR/xarm >X+echo " bigend code installed in xarm" >END-of-ccmath/files/patch-aa >echo x - ccmath/files/patch-ab >sed 's/^X//' >ccmath/files/patch-ab << 'END-of-ccmath/files/patch-ab' >X--- tseries/sany.c.orig Wed Mar 7 16:20:33 2001 >X+++ tseries/sany.c Wed Mar 7 16:20:40 2001 >X@@ -5,7 +5,7 @@ >X * public license (LGPL). ( See the lgpl.license file for details.) >X * ------------------------------------------------------------------------ >X */ >X-#include "ccmath.h" >X+#include "../ccmath.h" >X int sany(double *x,int n,double *pm,double *cd,double *ci, >X int nd,int ms,int lag) >X { struct complex *pc,*p,**qc,**q; >END-of-ccmath/files/patch-ab >echo x - ccmath/files/patch-ac >sed 's/^X//' >ccmath/files/patch-ac << 'END-of-ccmath/files/patch-ac' >X--- makelibs.sh.orig Wed Mar 7 16:18:01 2001 >X+++ makelibs.sh Wed Mar 7 16:18:36 2001 >X@@ -9,23 +9,19 @@ >X LST="cfit complex fft geom intg matrix roots sfunc simu sort statf tseries util xarm" >X MDR=`pwd` >X LSOD=$MDR/tmp >X-echo "Intel platform ? (y/n)" >X-read F >X for dr in $LST >X do >X cd $MDR/$dr >X echo `pwd` >X- cc -c -O3 *.c >X+ cc -c $CFLAGS *.c >X mv *.o $LSOD >X done >X-if [ $F = "y" ] >X- then cd $MDR/matrix >X- cc -c -O3 solv.s >X+ cd $MDR/matrix >X+ cc -c $CFLAGS solv.s >X mv *.o $LSOD >X cd $MDR/simu >X- cc -c -O3 *.s >X+ cc -c $CFLAGS *.s >X mv *.o $LSOD >X-fi >X cd $LSOD >X ar r libccm.a *.o >X ld -shared -o libccm.so *.o >END-of-ccmath/files/patch-ac >echo x - ccmath/pkg-plist >sed 's/^X//' >ccmath/pkg-plist << 'END-of-ccmath/pkg-plist' >Xinclude/ccmath.h >Xlib/libccm.a >Xlib/libccm.so >X%%PORTDOCS%%share/doc/ccmath/C00-intro >X%%PORTDOCS%%share/doc/ccmath/C01-matrix >X%%PORTDOCS%%share/doc/ccmath/C02-intg >X%%PORTDOCS%%share/doc/ccmath/C03-geom >X%%PORTDOCS%%share/doc/ccmath/C04-cfit >X%%PORTDOCS%%share/doc/ccmath/C05-roots >X%%PORTDOCS%%share/doc/ccmath/C06-fft >X%%PORTDOCS%%share/doc/ccmath/C07-simu >X%%PORTDOCS%%share/doc/ccmath/C08-statf >X%%PORTDOCS%%share/doc/ccmath/C09-sfunc >X%%PORTDOCS%%share/doc/ccmath/C10-sort >X%%PORTDOCS%%share/doc/ccmath/C11-tseries >X%%PORTDOCS%%share/doc/ccmath/C12-complex >X%%PORTDOCS%%share/doc/ccmath/C13-xarm >X%%PORTDOCS%%share/doc/ccmath/C14-util >X%%PORTDOCS%%@dirrm share/doc/ccmath >END-of-ccmath/pkg-plist >exit
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 25589
: 13441