[65627] trunk/dports/archivers/libzzip

ryandesign at macports.org ryandesign at macports.org
Mon Mar 29 00:13:08 PDT 2010


Revision: 65627
          http://trac.macports.org/changeset/65627
Author:   ryandesign at macports.org
Date:     2010-03-29 00:13:03 -0700 (Mon, 29 Mar 2010)
Log Message:
-----------
libzzip: fix destroot failure on Leopard; see #24227

Modified Paths:
--------------
    trunk/dports/archivers/libzzip/Portfile

Added Paths:
-----------
    trunk/dports/archivers/libzzip/files/patch-m4-ax_pax_tar.m4.diff

Modified: trunk/dports/archivers/libzzip/Portfile
===================================================================
--- trunk/dports/archivers/libzzip/Portfile	2010-03-29 06:54:32 UTC (rev 65626)
+++ trunk/dports/archivers/libzzip/Portfile	2010-03-29 07:13:03 UTC (rev 65627)
@@ -35,6 +35,12 @@
 
 set docdir ${prefix}/share/doc/${name}-${version}
 
+platform darwin 9 {
+    # Fix destroot failure on Leopard (does not affect Tiger or Snow Leopard)
+    use_autoreconf yes
+    patchfiles-append patch-m4-ax_pax_tar.m4.diff
+}
+
 variant universal {
     patchfiles-append patch-configure.ac.diff
     use_autoconf yes

Added: trunk/dports/archivers/libzzip/files/patch-m4-ax_pax_tar.m4.diff
===================================================================
--- trunk/dports/archivers/libzzip/files/patch-m4-ax_pax_tar.m4.diff	                        (rev 0)
+++ trunk/dports/archivers/libzzip/files/patch-m4-ax_pax_tar.m4.diff	2010-03-29 07:13:03 UTC (rev 65627)
@@ -0,0 +1,24 @@
+--- m4/ax_pax_tar.m4.orig	2010-03-29 02:03:14.000000000 -0500
++++ m4/ax_pax_tar.m4	2010-03-29 02:03:48.000000000 -0500
+@@ -67,10 +67,6 @@
+     ax_pax_tar_create="'$ac_cv_path_GTAR' cf"
+   elif test "$ac_cv_pax_tar_tool" = "pax"; then
+     ax_pax_tar_create="'$ac_cv_path_PAX' -w -f"
+-    dnl BSD PAX has the nuisiance to prompt for a new archive on errors
+-    if "$ac_cv_path_PAX" --help 2>&1 | grep "pax.*-[[a-zA-Z]]*O" ; then
+-       ax_pax_tar_extract="'$ac_cv_path_PAX' -w -O -f"
+-    fi
+   elif test "$ac_cv_pax_tar_tool" = "tar"; then
+     ax_pax_tar_create="'$ac_cv_path_TAR' cf"
+   else
+@@ -88,10 +84,6 @@
+     ax_pax_tar_extract="'$ac_cv_path_GTAR' xf"
+   elif test "$ac_cv_pax_tar_tool" = "pax"; then
+     ax_pax_tar_extract="'$ac_cv_path_PAX' -r -f"
+-    dnl BSD PAX has the nuisiance to prompt for a new archive on errors
+-    if "$ac_cv_path_PAX" --help 2>&1 | grep "pax.*-[[a-zA-Z]]*O" ; then
+-       ax_pax_tar_extract="'$ac_cv_path_PAX' -r -O -f"
+-    fi
+   elif test "$ac_cv_pax_tar_tool" = "tar"; then
+     ax_pax_tar_extract="'$ac_cv_path_TAR' xf"
+   else
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100329/59685c9f/attachment-0001.html>


More information about the macports-changes mailing list