Ticket #29833: afflib-3.6.12.diff

File afflib-3.6.12.diff, 2.4 KB (added by ryandesign (Ryan Schmidt), 10 years ago)

proposed patch for afflib; seems to work

  • files/patch-configure.ac.diff

     
     1--- configure.ac.orig   2011-05-23 16:59:38.000000000 -0500
     2+++ configure.ac        2011-06-29 05:28:59.000000000 -0500
     3@@ -31,21 +31,7 @@
     4 m4_include([m4/acinclude.m4])
     5 ACX_PTHREAD()
     6 
     7-if test x"${cross_compiling}" = "xno" ; then
     8-  # Bring additional directories where things might be found into our
     9-  # search path. I don't know why autoconf doesn't do this by default
     10-  for spfx in /usr/local /opt/local /sw ${prefix} ; do
     11-    AC_MSG_NOTICE([checking ${spfx}/include])
     12-    if test -d ${spfx}/include; then
     13-        CPPFLAGS="-I${spfx}/include $CPPFLAGS"
     14-        LDFLAGS="-L${spfx}/lib $LDFLAGS"
     15-        AC_MSG_NOTICE([ *** ADDING ${spfx}/include to CPPFLAGS *** ])
     16-        AC_MSG_NOTICE([ *** ADDING ${spfx}/lib to LDFLAGS *** ])
     17-    fi
     18-  done
     19-  AC_MSG_NOTICE([ CPPFLAGS = ${CPPFLAGS} ])       
     20-  AC_MSG_NOTICE([ LDFLAGS = ${LDFLAGS} ])       
     21-else
     22+if test x"${cross_compiling}" != "xno" ; then
     23   AC_MSG_NOTICE([Cross Compiling --- will not update CPPFALGS or LDFLAGS with /usr/local, /opt/local or /sw])
     24   LIBS="$LIBS -lws2_32 -lgdi32"
     25 fi
  • Portfile

     
    33PortSystem 1.0
    44
    55name            afflib
    6 version         3.3.6
    7 revision        1
     6version         3.6.12
    87categories      security
    98maintainers     darkart.com:opendarwin.org
    109description     The Advanced Forensic Format
     
    1615
    1716master_sites    http://www.afflib.org/downloads/
    1817
    19 checksums           md5     546cb2f0c6bde7868b3ad77bd56791d7 \
    20                     sha1    0757089f1bc721da71d7eeed21ef09127c993e60 \
    21                     rmd160  d784684acd5647bcfa8ac8e409bf598a9c7765e0
     18checksums       sha1    1bd156a7e970253c3e2df5b55046142073b311fe \
     19                rmd160  aebb740513992d6ef24cf6a54a965ff3c1a5d9cb
    2220
    23 use_bzip2       no
    24 
    2521depends_lib     port:libewf     \
    2622                port:openssl    \
    2723                port:readline   \
     24                port:expat      \
    2825                port:zlib
    2926
     27patchfiles      patch-configure.ac.diff
     28
     29use_autoreconf  yes
     30
    3031configure.args  --enable-fuse=no        \
    3132                --enable-s3=no 
    3233
     
    3839        configure.args-append   --enable-s3=yes \
    3940                                --with-curl=${prefix}/lib
    4041        configure.args-delete   --enable-s3=no
    41         depends_lib-append      port:curl       \
    42                                 port:expat
     42        depends_lib-append      port:curl
    4343}
    4444
    4545