Ticket #2094: darcs-0.9.23.patch

File darcs-0.9.23.patch, 1.7 KB (added by stoerte@…, 20 years ago)

briefly description of the patch

  • Portfile

    old new  
    22
    33PortSystem 1.0
    44name            darcs
    5 version         0.9.15
     5version         0.9.23
    66categories      devel
    77maintainers     jkh@opendarwin.org
    88description     David's Advanced Revision Control System
     
    1111homepage        http://abridgegame.org/darcs/
    1212platforms       darwin
    1313master_sites    ${homepage}
    14 checksums       md5 baf34dc8f29557a6b3f1090891d9bbb2
    15 patchfiles      patch-GNUmakefile
     14checksums       md5 9bdabbdefaed8ffdfeb0578715e38462
     15patchfiles      patch-GNUmakefile patch-configure.ac
    1616depends_run     bin:ghc:ghc
    1717depends_lib     lib:libreadline.4:readline lib:libcurl.2:curl
    1818configure.args  --mandir=${prefix}/share/man
  • files/patch-configure.ac

    diff -rN -u darcs-old-2/files/patch-configure.ac darcs-new-1/files/patch-configure.ac
    old new  
     1--- configure.ac        2004-07-29 22:58:50.000000000 +0200
     2+++ configure.ac        2004-07-29 20:14:49.000000000 +0200
     3@@ -265,6 +265,9 @@
     4 fi
     5 AC_SUBST(USE_HIDEOUS_MALLOC_HACK)
     6 
     7+dnl Find awk
     8+
     9+AC_PROG_AWK
     10 
     11 dnl Find libcurl and other libraries needed by hscurl.c
     12 
     13@@ -276,7 +279,11 @@
     14  AC_MSG_CHECKING([for libcurl])
     15  if eval curl-config --version 2>/dev/null >/dev/null; then
     16    ver=`curl-config --version | sed -e "s/libcurl //g"`
     17-   CURLFLAGS=`curl-config --libs | sed "s_-arch [^ ]+__"`
     18+   if test -z "$AWK"; then
     19+       CURLFLAGS=`curl-config --libs | sed "s_-arch @<:@^ @:>@+__"`
     20+   else
     21+       CURLFLAGS=`curl-config --libs | $AWK '{sub(/-arch @<:@^ @:>@+/,""); print}'`
     22+   fi
     23    AC_MSG_RESULT($ver)
     24  else
     25    AC_MSG_RESULT(FAILED)