[71773] trunk/dports/print/latex2html

ryandesign at macports.org ryandesign at macports.org
Wed Sep 22 17:08:12 PDT 2010


Revision: 71773
          http://trac.macports.org/changeset/71773
Author:   ryandesign at macports.org
Date:     2010-09-22 17:08:10 -0700 (Wed, 22 Sep 2010)
Log Message:
-----------
latex2html: cope with release candidate versions of ghostscript; see #26586

Modified Paths:
--------------
    trunk/dports/print/latex2html/Portfile

Added Paths:
-----------
    trunk/dports/print/latex2html/files/
    trunk/dports/print/latex2html/files/patch-config-config.pl.diff

Modified: trunk/dports/print/latex2html/Portfile
===================================================================
--- trunk/dports/print/latex2html/Portfile	2010-09-22 23:50:45 UTC (rev 71772)
+++ trunk/dports/print/latex2html/Portfile	2010-09-23 00:08:10 UTC (rev 71773)
@@ -28,6 +28,8 @@
 
 depends_lib             path:bin/perl:perl5
 
+patchfiles              patch-config-config.pl.diff
+
 configure.perl          ${prefix}/bin/perl
 
 configure.args          --without-mktexlsr \

Added: trunk/dports/print/latex2html/files/patch-config-config.pl.diff
===================================================================
--- trunk/dports/print/latex2html/files/patch-config-config.pl.diff	                        (rev 0)
+++ trunk/dports/print/latex2html/files/patch-config-config.pl.diff	2010-09-23 00:08:10 UTC (rev 71773)
@@ -0,0 +1,11 @@
+--- config/config.pl.orig	2008-09-23 14:55:55.000000000 -0500
++++ config/config.pl	2010-09-22 19:04:40.000000000 -0500
+@@ -1056,7 +1056,7 @@
+ 
+       while (<GS>) {
+         chomp;
+-        if($flag == 0 && /Ghostscript\s*(?:Version|(?:PRE-|BETA |TESTER )RELEASE|)\s*(\d+[.]?\d*)/i) {
++        if($flag == 0 && /Ghostscript\s*(?:Version|(?:PRE-|BETA |TESTER )RELEASE|RELEASE CANDIDATE|)\s*(\d+[.]?\d*)/i) {
+           $gs_version = $1;
+           $flag = 1;
+         }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100922/83e189b7/attachment.html>


More information about the macports-changes mailing list