Ticket #29833: afflib-3.6.12.diff
File afflib-3.6.12.diff, 2.4 KB (added by ryandesign (Ryan Carsten Schmidt), 13 years ago) |
---|
-
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
3 3 PortSystem 1.0 4 4 5 5 name afflib 6 version 3.3.6 7 revision 1 6 version 3.6.12 8 7 categories security 9 8 maintainers darkart.com:opendarwin.org 10 9 description The Advanced Forensic Format … … 16 15 17 16 master_sites http://www.afflib.org/downloads/ 18 17 19 checksums md5 546cb2f0c6bde7868b3ad77bd56791d7 \ 20 sha1 0757089f1bc721da71d7eeed21ef09127c993e60 \ 21 rmd160 d784684acd5647bcfa8ac8e409bf598a9c7765e0 18 checksums sha1 1bd156a7e970253c3e2df5b55046142073b311fe \ 19 rmd160 aebb740513992d6ef24cf6a54a965ff3c1a5d9cb 22 20 23 use_bzip2 no24 25 21 depends_lib port:libewf \ 26 22 port:openssl \ 27 23 port:readline \ 24 port:expat \ 28 25 port:zlib 29 26 27 patchfiles patch-configure.ac.diff 28 29 use_autoreconf yes 30 30 31 configure.args --enable-fuse=no \ 31 32 --enable-s3=no 32 33 … … 38 39 configure.args-append --enable-s3=yes \ 39 40 --with-curl=${prefix}/lib 40 41 configure.args-delete --enable-s3=no 41 depends_lib-append port:curl \ 42 port:expat 42 depends_lib-append port:curl 43 43 } 44 44 45 45