Ticket #13325: eclib-20120824.patch

File eclib-20120824.patch, 2.4 KB (added by jpflori, 7 years ago)

Spkg diff, for review only. Committed in spkg.

  • SPKG.txt

    # HG changeset patch
    # User Jean-Pierre Flori <jean-pierre.flori@ssi.gouv.fr>
    # Date 1345911542 -7200
    # Node ID 99be69d5c1333c3549e2ab0fa09c30c713627f4c
    # Parent  356219ee2fe1dfba5d24da54b2a83725da35e094
    #13325: Update to version 2012-08-24
    
    diff --git a/SPKG.txt b/SPKG.txt
    a b  
    2323 * PARI
    2424 * NTL
    2525
    26 == Distribution ==
     26== Changelog ==
    2727
    28 === Padus ===
    29 
    30  * Contact: Ismail Dönmez
    31  * EMail: ismail@pardus.org.tr
    32  * Website: N/A
    33 
    34 == Special Update/Build Instructions ==
    35 
    36  * The makefiles do use GNU extensions. This causes build failures on
    37    systems like FreeBSD where GNU's make is usually called `gmake`. A
    38    work-around is to create a symlink from `gmake` to `make` in e.g. `~/bin/`
    39    and to add that directory to `PATH` before the directory that
    40    contains the BSD make. [This comment may be obsolete now that
    41    autotools are used.]
    42 
    43 == Changelog ==
     28=== eclib-20120804 (Jean-Pierre Flori, 24 August 2012) ===
     29 * #13325: Source code updated to version 2012-08-24.
     30 * Now builds correctly on Cygwin.
    4431
    4532=== eclib-20120428 (John Cremona, 28 April 2012) ===
    4633 * Source code update to revision 7fcd812213df  (as at 25 April 2012), from
  • spkg-install

    diff --git a/spkg-install b/spkg-install
    a b  
    2121    LDFLAGS="$LDFLAGS $CFLAG64" # or $CXXFLAG64
    2222fi
    2323
    24 # if [ "$UNAME" = "CYGWIN" ]; then
    25 #     PICFLAG=""
    26 # else
    27 #     PICFLAG=-fPIC
    28 # fi
    29 # if [ "$SAGE64" = "yes" ]; then
    30 #     DYN_FLAGS="-m64"; export DYN_FLAGS
    31 #     PICFLAG="-m64 -fPIC"
    32 # fi
    33 # export PICFLAG
    34 
    3524if [ "$SAGE_DEBUG" = yes ]; then
    3625    echo >&2 "Warning: Setting SAGE_DEBUG=yes completely disables optimization."
    3726    CFLAGS="$CFLAGS -g -O0"
     
    5140# Delete any pre-autotools libraries:
    5241rm -f "$SAGE_LOCAL"/lib/lib{curvesntl,g0nntl,jcntl,rankntl,mwrank}.*
    5342# Delete autotools libraries:
    54 rm -f "$SAGE_LOCAL"/lib/libjc.*
     43rm -f "$SAGE_LOCAL"/lib/lib{e,j}c.*
     44if [ "$UNAME" = "CYGWIN" ]; then
     45    rm -f "$SAGE_LOCAL"/lib/cyg{e,j}c-*.dll
     46fi
    5547echo "Deleting old include directory..."
    5648rm -rf "$SAGE_LOCAL"/include/eclib/
    5749
     
    8577    echo >&2 "Error installing eclib."
    8678    exit 1
    8779fi
    88 # if [ "$UNAME" = "Darwin" ]; then
    89 #     cp -p lib/*.dylib "$SAGE_LOCAL"/lib/
    90 # elif [ "$UNAME" = "CYGWIN" ]; then
    91 #     cp -p lib/*.dll "$SAGE_LOCAL"/lib/
    92 # else
    93 #     cp -p lib/*.so "$SAGE_LOCAL"/lib/
    94 #     PATH="$PATH:/sbin" ldconfig -n $SAGE_LOCAL/lib
    95 # fi