Ticket #53712: patch-Portfile

File patch-Portfile, 1.2 KB (added by ballapete (Peter "Pete" Dyballa), 8 years ago)
Line 
1diff --git a/archivers/libarchive/Portfile b/archivers/libarchive/Portfile
2index 3678221b87..0c1f098326 100644
3--- Portfile
4+++ Portfile
5@@ -25,9 +25,27 @@ depends_lib      port:bzip2 port:zlib port:libxml2 port:xz \
6 
7 patchfiles       patch-libarchive__archive_read_support_format_lha.c.diff
8 
9+####
10+# the following section is to be removed when 3.3.2 is released. it is
11+# a temporary fix for older Mac OS X versions, and is already upstream.
12+
13+revision         1
14+
15+patchfiles-append \
16+                 patch-3.3.1_to_master.diff \
17+                 patch-Makefile.am.diff
18+
19+depends_build    port:autoconf port:automake port:libtool
20+
21+post-patch {
22+    system -W ${worksrcpath} "build/autogen.sh"
23+}
24+
25+####
26+
27 configure.args   --enable-bsdtar=shared --enable-bsdcpio=shared \
28                  --disable-silent-rules --without-nettle \
29-                 --without-openssl --without-lzmadec
30+                 --without-openssl
31 
32 livecheck.type  regex
33 livecheck.regex libarchive-(\[0-9.\]+)\\.tar.gz
34diff --git a/archivers/libarchive/files/patch-3.3.1_to_master.diff b/archivers/libarchive/files/patch-3.3.1_to_master.diff
35new file mode 100644
36index 0000000000..91daa6d023