Hello,

This patch should fix the "/usr/bin/python" problem for the Mac OS X
Python scripts; "/usr/bin/env python" is used instead.

The discussion is here:
http://code.google.com/p/lilypond/issues/detail?id=717

Thanks,
Patrick
>From 8ea2f88fc7041f4d81c51f9936dd162b21ed31fb Mon Sep 17 00:00:00 2001
From: Patrick McCarty <pnor...@gmail.com>
Date: Tue, 30 Jun 2009 14:27:35 -0700
Subject: [PATCH] Fix Python scripts on Mac OS X

---
 gub/specs/lilypond.py |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/gub/specs/lilypond.py b/gub/specs/lilypond.py
index 28f653f..13ab5bc 100644
--- a/gub/specs/lilypond.py
+++ b/gub/specs/lilypond.py
@@ -350,6 +350,9 @@ class LilyPond__darwin (LilyPond):
     def configure_command (self):
         return (LilyPond.configure_command (self)
                 .replace ('--enable-rpath', '--disable-rpath'))
+    def makeflags (self):
+        return (LilyPond.makeflags (self)
+                .replace ('/usr/bin/python', '"/usr/bin/env python"'))
 
 class LilyPond__darwin__ppc (LilyPond__darwin):
     def configure (self):
-- 
1.6.3.3

_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to