patches/ppl/0.11.1/200-fix-build-with-local-gmp.patch
author "Yann E. MORIN" <yann.morin.1998@free.fr>
Wed Jun 25 23:33:01 2014 +0200 (2014-06-25)
changeset 3325 069f43a215cc
permissions -rw-r--r--
all: fix wildcard to work with make-4.x

In make-3.8x, the $(wildacrd) function would sort the entries,
while in make-4.x, it would just return the entries in any
unpredictable order [*]

Use the $(sort) function to get reproducible behaviour.

[*] Well, most probably the roder the entries appear when read
from readdir()

Reported-by: Andrew Ruder <andrew.ruder@elecsyscorp.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Tested-by: Andrew Ruder <andrew.ruder@elecsyscorp.com>
     1 --- a/m4/ac_check_gmp.m4~	2011-02-27 04:07:47.000000000 -0500
     2 +++ b/m4/ac_check_gmp.m4	2013-07-10 19:57:35.894457259 -0400
     3 @@ -32,6 +32,9 @@
     4      with_libgmpxx_prefix="$with_libgmp_prefix"
     5    fi
     6  fi
     7 +CPPFLAGS="$CPPFLAGS -I$with_libgmp_prefix/include"
     8 +CXXFLAGS="$CXXFLAGS -I$with_libgmpxx_prefix/include"
     9 +LDFLAGS="$CPPFLAGS -L$with_libgmpxx_prefix/lib -L$with_libgmp_prefix/lib"
    10  
    11  AC_ARG_WITH(gmp-build,
    12    AS_HELP_STRING([--with-gmp-build=DIR],
    13 --- a/configure~	2011-02-27 04:07:47.000000000 -0500
    14 +++ b/configure		2013-07-10 19:57:35.894457259 -0400
    15 @@ -10217,6 +10217,9 @@
    16      with_libgmpxx_prefix="$with_libgmp_prefix"
    17    fi
    18  fi
    19 +CPPFLAGS="$CPPFLAGS -I$with_libgmp_prefix/include"
    20 +CXXFLAGS="$CXXFLAGS -I$with_libgmpxx_prefix/include"
    21 +LDFLAGS="$CPPFLAGS -L$with_libgmpxx_prefix/lib -L$with_libgmp_prefix/lib"
    22  
    23  
    24  # Check whether --with-gmp-build was given.