[83455] trunk/dports/textproc/lilypond

snc at macports.org snc at macports.org
Thu Sep 1 13:21:06 PDT 2011


Revision: 83455
          http://trac.macports.org/changeset/83455
Author:   snc at macports.org
Date:     2011-09-01 13:21:06 -0700 (Thu, 01 Sep 2011)
Log Message:
-----------
lilypond: fix build error, #30879

Modified Paths:
--------------
    trunk/dports/textproc/lilypond/Portfile

Added Paths:
-----------
    trunk/dports/textproc/lilypond/files/patch-scripts-build-mf2pt1.pl.diff

Modified: trunk/dports/textproc/lilypond/Portfile
===================================================================
--- trunk/dports/textproc/lilypond/Portfile	2011-09-01 18:47:43 UTC (rev 83454)
+++ trunk/dports/textproc/lilypond/Portfile	2011-09-01 20:21:06 UTC (rev 83455)
@@ -37,6 +37,7 @@
                     port:texlive-metapost \
                     port:urw-fonts
 
+patchfiles          patch-scripts-build-mf2pt1.pl.diff
 post-patch {
     reinplace s|__vector|lily_vector|g ${worksrcpath}/flower/include/std-vector.hh
     fs-traverse file ${worksrcpath} {

Added: trunk/dports/textproc/lilypond/files/patch-scripts-build-mf2pt1.pl.diff
===================================================================
--- trunk/dports/textproc/lilypond/files/patch-scripts-build-mf2pt1.pl.diff	                        (rev 0)
+++ trunk/dports/textproc/lilypond/files/patch-scripts-build-mf2pt1.pl.diff	2011-09-01 20:21:06 UTC (rev 83455)
@@ -0,0 +1,11 @@
+--- scripts/build/mf2pt1.pl.orig	2011-09-01 14:54:37.000000000 -0400
++++ scripts/build/mf2pt1.pl	2011-09-01 14:55:04.000000000 -0400
+@@ -426,7 +426,7 @@
+ # parameters, too.
+ sub get_bboxes ($)
+ {
+-    execute_command 1, ("mpost", "-mem=mf2pt1", "-progname=mpost",
++    execute_command 1, ("mpost", "-mem=../../mf2pt1", "-progname=mpost",
+                         "\\mode:=localfont; mag:=$mag; bpppix $bpppix; input $mffile");
+     opendir (CURDIR, ".") || die "${progname}: $! ($filedir)\n";
+     @charfiles = sort
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110901/c4fbe8d2/attachment.html>


More information about the macports-changes mailing list