[86647] trunk/dports/textproc/lv

takanori at macports.org takanori at macports.org
Sun Oct 30 19:03:37 PDT 2011


Revision: 86647
          http://trac.macports.org/changeset/86647
Author:   takanori at macports.org
Date:     2011-10-30 19:03:37 -0700 (Sun, 30 Oct 2011)
Log Message:
-----------
lv:
 - +with_xz -> +xz
 - From this version, the variant +xz is enabled by default

Modified Paths:
--------------
    trunk/dports/textproc/lv/Portfile
    trunk/dports/textproc/lv/files/xz_support.diff

Modified: trunk/dports/textproc/lv/Portfile
===================================================================
--- trunk/dports/textproc/lv/Portfile	2011-10-31 01:58:10 UTC (rev 86646)
+++ trunk/dports/textproc/lv/Portfile	2011-10-31 02:03:37 UTC (rev 86647)
@@ -4,7 +4,7 @@
 
 name            lv
 version         4.51
-revision        2
+revision        3
 categories      textproc
 maintainers     takanori openmaintainer
 description     Powerful Multilingual File Viewer / Grep
@@ -58,9 +58,13 @@
     }
 }
 
+default_variants +xz
+
 variant lesslikeslash description {Make the behavior of the search command more similar to the one in Less} {}
 
-variant with_xz description {Experimental support for XZ Utils} {
+variant with_xz requires xz description {Legacy compatibility variant} {}
+
+variant xz description {Experimental support for XZ Utils} {
     patchfiles-append   xz_support.diff
     depends_run-append  port:xz
 }

Modified: trunk/dports/textproc/lv/files/xz_support.diff
===================================================================
--- trunk/dports/textproc/lv/files/xz_support.diff	2011-10-31 01:58:10 UTC (rev 86646)
+++ trunk/dports/textproc/lv/files/xz_support.diff	2011-10-31 02:03:37 UTC (rev 86647)
@@ -4,7 +4,7 @@
  
  private byte *gz_filter = "gzcat";
  private byte *bz2_filter = "bzcat";
-+private byte *lzma_filter = "lzmadec";
++private byte *lzma_filter = "lzcat";
 +private byte *xz_filter = "xzcat";
  
  private stream_t *StreamAlloc()
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111030/af073e38/attachment.html>


More information about the macports-changes mailing list