Ticket #12937: sqlite-3.7.5.p1.diff

File sqlite-3.7.5.p1.diff, 1.4 KB (added by jdemeyer, 7 years ago)

Diff for the sqlite spkg. For reference / review only.

  • SPKG.txt

    # HG changeset patch
    # User William Stein <wstein@gmail.com>
    # Date 1336676541 25200
    # Node ID 140d334e4d0290d11b13f78caafab92b0f27f4e6
    # Parent  9cf40ef708c55155400a983ce5cc3b69ac34f995
    trac #12937: sqlite sometimes picks up the wrong libraries (e.g., readline) since we forgot to set LDFLAGS
    
    diff --git a/SPKG.txt b/SPKG.txt
    a b  
    66== Upstream contact ==
    77 * URL: http://www.sqlite.org
    88
     9=== sqlite-3.7.5.p1 (William Stein, 10 May 2012) ===
     10 * #12937: sqlite sometimes picks up the wrong libraries (e.g., readline) since we forgot to set LDFLAGS.  Thus, set LDFLAGS.
     11
    912=== sqlite-3.7.5.p0 (Simon King, 10th December 2011) ===
    1013 * #12131: Use --libdir, to make this package work on openSUSE
    1114
  • spkg-install

    diff --git a/spkg-install b/spkg-install
    a b  
    4343export CFLAGS="$CFLAGS -O2 "
    4444export CXXFLAGS="$CXXFLAGS -O2 "
    4545export CPPFLAGS="$CPPFLAGS -I $SAGE_LOCAL/include"
     46export LDFLAGS="$LDFLAGS -I $SAGE_LOCAL/lib"
    4647
    4748# There is no Fortran code in sqlite, but if FC is not set, there
    4849# there are annoying messages showing the use of the GNU fortran compiler
     
    6162echo "                      CXXFLAGS=$CXXFLAGS"
    6263echo "                      FFLAGS=$FFLAGS"
    6364echo "                      CPPFLAGS=$CPPFLAGS"
     65echo "                      LDFLAGS=$LDFLAGS"
    6466
    6567# Disable exit on error, since the necessary checks for errors
    6668# are below.