Edit

IABSD.fr/ports/math/gnuplot/patches/patch-configure

Branch :

  • Show log

    Commit

  • Author : pirofti
    Date : 2018-12-22 09:35:30
    Hash : ba6c8c94
    Message : Update math/gnuplot to 5.2.5. Here is a minor update to gnuplot. http://www.gnuplot.info/ReleaseNotes_5_2_5.html Contains new features and a couple of bug fixes. OK ajacoutot@

  • math/gnuplot/patches/patch-configure
  • $OpenBSD: patch-configure,v 1.2 2018/12/22 09:35:30 pirofti Exp $
    
    readline -> ereadline
    
    Index: configure
    --- configure.orig
    +++ configure
    @@ -10168,7 +10168,7 @@ fi
           if test -d $with_readline/lib; then
             LDFLAGS="$LDFLAGS -L$with_readline/lib"
           fi
    -            if test ! -d $with_readline/include/readline; then
    +            if test ! -d $with_readline/include/ereadline; then
             if test -d $with_readline/include/editline; then
               { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $with_readline contains libedit, not readline!" >&5
     $as_echo "$as_me: WARNING: $with_readline contains libedit, not readline!" >&2;}
    @@ -10261,7 +10261,7 @@ if ${ac_cv_lib_readline_remove_history+:} false; then 
       $as_echo_n "(cached) " >&6
     else
       ac_check_lib_save_LIBS=$LIBS
    -LIBS="-lreadline ${gp_tcap} $LIBS"
    +LIBS="-lereadline ${gp_tcap} $LIBS"
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     /* end confdefs.h.  */
     
    @@ -10292,7 +10292,7 @@ fi
     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_remove_history" >&5
     $as_echo "$ac_cv_lib_readline_remove_history" >&6; }
     if test "x$ac_cv_lib_readline_remove_history" = xyes; then :
    -  TERMLIBS="-lreadline $gp_tcap $TERMLIBS"
    +  TERMLIBS="-lereadline $gp_tcap $TERMLIBS"
     fi
     
         if test "$ac_cv_lib_readline_remove_history" = no; then
    @@ -10333,7 +10333,7 @@ fi
     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_history_remove_history" >&5
     $as_echo "$ac_cv_lib_history_remove_history" >&6; }
     if test "x$ac_cv_lib_history_remove_history" = xyes; then :
    -  TERMLIBS="-lreadline -lhistory $gp_tcap $TERMLIBS"
    +  TERMLIBS="-lereadline -lhistory $gp_tcap $TERMLIBS"
     else
        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GNU readline not found - falling back to builtin readline" >&5
     $as_echo "$as_me: WARNING: GNU readline not found - falling back to builtin readline" >&2;}