Update of /cvsroot/fink/dists/10.4/stable/main/finkinfo/sci
In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv28347

Modified Files:
        singular-factory.info 
Added Files:
        singular-libfac.info 
Log Message:
move to stable


--- NEW FILE: singular-libfac.info ---
Package: singular-libfac
Version: 2.05
Revision: 2
Architecture: powerpc
GCC: 3.3
BuildDepends: gmp (>= 4.1.4-1), libmpfr1, singular-factory (>= %v-%r), gcc3.3
BuildConflicts: broken-gcc
Depends: gmp-shlibs (>= 4.1.4-1), libmpfr1-shlibs
Replaces: singular, singular-sta
BuildDependsOnly: true
Source: 
ftp://www.mathematik.uni-kl.de/pub/Math/Singular/src/Singular-libfac-2-0-5.tar.gz
Source-MD5: 149cd0f1249388e58138a6b1de17dd7c
SourceDirectory: libfac
## Only changes w.r.t. previous %v are _ besides those in srcs and deps etc _ 
that
## 1) the patch is no longer relevant
## 2) the vars ac_cv_c_const and ac_cv_c_inline from the previous patchscript 
no longer appear in the build-dir
## 3) NDEBUG is automatically set to 1 in present setting.
## 4) the flags are set such as to coincide exactly with those in the 
corresponding build in singular.info
## 5) making sure that all flags referring to the build-dir come before any 
other (foolproofing).
NoSetLDFLAGS: true
NoSetCPPFLAGS: true
ConfigureParams: --with-NOSTREAMIO
CompileScript: <<
#!/bin/sh -ev
 export CXXFLAGS="-mdynamic-no-pic -O3 -fschedule-insns -fschedule-insns2 
-fsched-interblock -fstrict-aliasing \
   -fregmove -freorder-blocks -floop-transpose --param max-gcse-passes=3 
-ffast-math -fno-exceptions -fno-rtti"
 export CPATH=%p/include
 export CC=gcc-3.3; export CXX=g++-3.3
./configure %c
 make DEFS=-DHAVE_SINGULAR_ERROR
<<
InstallScript: <<
 make install prefix=%i
 ranlib %i/lib/libfac.a
<<
DocFiles: 00README COPYING ChangeLog
License: GPL
Description: Library for factorization of polynomials over finite fields
DescPackaging: <<
 This version is compiled with g++-3.3, even in the 10.4 tree.  If it is
 ever updated to a more recent compiler, the group of packages macaulay2,
 ntl, singular-factory, and singular-libfac (and any packages which depend on
 any of them) must all be updated at the same time.
<<
DescPort: <<
 also tried SetCFLAGS -no-cpp-precomp and SetCXXFLAGS -O2
<<
Homepage: http://www.singular.uni-kl.de/
Maintainer:  Dave Morrison <[EMAIL PROTECTED]>

Index: singular-factory.info
===================================================================
RCS file: 
/cvsroot/fink/dists/10.4/stable/main/finkinfo/sci/singular-factory.info,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- singular-factory.info       5 Sep 2006 04:43:00 -0000       1.2
+++ singular-factory.info       11 Mar 2007 17:17:17 -0000      1.3
@@ -1,21 +1,36 @@
 Package: singular-factory
-Version: 1.3b
-Revision: 18
+Version: 2.05
+Revision: 3
 Architecture: powerpc
 GCC: 3.3
-Depends: gmp-shlibs (>= 4.1.4-1), libmpfr1-shlibs
+Depends: gmp-shlibs (>= 4.1.2-11)
+#BuildDepends: gmp (>= 4.1.4-1), libmpfr1, ntl (>= 5.3.1-12), gcc3.3
 BuildDepends: gmp (>= 4.1.4-1), libmpfr1, gcc3.3
 BuildConflicts: broken-gcc
-#Source: 
ftp://www.mathematik.uni-kl.de/pub/Math/Singular/src/Singular-factory-2.0.1.tar.gz
-Source: http://www.math.uiuc.edu/Macaulay2/ftp-site/factory-%v.20010625.tgz
-SourceRename: Singular-factory-2.0.1.tar.gz
-Source-MD5: 893adc69b64ea9b527651d3726be82b8
+Replaces: singular, singular-sta
+BuildDependsOnly: true
+Source: 
ftp://www.mathematik.uni-kl.de/pub/Math/Singular/src/Singular-factory-2-0-5.tar.gz
+Source-MD5: ccb98926a93b0fc90711730790c56ac5
 SourceDirectory: factory
-Patch: %n.patch
-ConfigureParams: --disable-streamio
+## The exported flags are there to have exactly the same flags as in 
singular.info
+## _ for maintainability, and for comparison.
+## The PatchScript, and the other changes here except for dependency changes, 
is to make sure
+## all -I flags referring to the builddir come before any other (foolproofing).
+PatchScript: perl -pi.bak -e 's/\-I\$\(includedir\) //g' GNUmakefile.in
+NoSetLDFLAGS: true
+NoSetCPPFLAGS: true
+#ConfigureParams: --disable-streamio --with-NTL --with-gmp
+ConfigureParams: --disable-streamio --with-gmp
 CompileScript: <<
-  export CC=gcc-3.3; export CXX=g++-3.3; ./configure %c
-  make CC=gcc-3.3 CXX=g++-3.3
+#!/bin/sh -ev
+ export CFLAGS="-mdynamic-no-pic -O3 -fschedule-insns -fschedule-insns2 
-fsched-interblock -fstrict-aliasing \
+   -fregmove -freorder-blocks -floop-transpose --param max-gcse-passes=3 
-ffast-math"
+ export CXXFLAGS="-mdynamic-no-pic -O3 -fschedule-insns -fschedule-insns2 
-fsched-interblock -fstrict-aliasing \
+   -fregmove -freorder-blocks -floop-transpose --param max-gcse-passes=3 
-ffast-math -fno-exceptions -fno-rtti"
+ export CPATH=%p/include 
+ export CC="gcc-3.3" 
+ export CXX="g++-3.3" 
+ ./configure %c ; make
 <<
 DocFiles: COPYING ChangeLog INSTALL NEWS README
 License: GPL
@@ -23,13 +38,13 @@
 DescPackaging: <<
  This version is compiled with g++-3.3, even in the 10.4 tree.  If it is
  ever updated to a more recent compiler, the group of packages macaulay2,
- singular-factory, and singular-libface (and any packages which depend on
- any of them) must all be updated at the same time.
+ ntl, singular-factory, and singular-libfac (and any packages which depend on
+ any of them) must all be updated at the same time:
+ gcc4 removed the -floop-transpose flag; consider -fast -mcpu=750 instead
 <<
 DescPort: <<
  Had trouble compiling ftmpl_inst.cc, so tried adding 
   --disable-streamio, but then make gftables doesn't work at all.
- The patch removing extern "C" is needed for gmp 4.0.
 <<
 Homepage: http://www.singular.uni-kl.de/
 Maintainer:  Dave Morrison <[EMAIL PROTECTED]>


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to