[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Darwin portability

From: David Brandon
Subject: Darwin portability
Date: Thu, 22 Apr 2004 00:27:29 -0400

Here are some diffs which fixed up compilation on my OS X box. I took the ideas from the fink package, but (1) put it in a portable format which (hopefully) won't screw up all of the other platforms and (2) took the minimum set of changes to make it compile. A lot of the fink stuff has to do with where things are installed and doesn't really matter. The resulting program seems to work.

This is the output of 'cvs diff':

Index: stepmake/stepmake/c++-rules.make
RCS file: /cvsroot/lilypond/lilypond/stepmake/stepmake/c++-rules.make,v
retrieving revision 1.9
diff -r1.9 c++-rules.make
> ifeq ($(shell uname),Darwin)
> perl -i -pe 's/^class istream;/#include <iostream>;\nusing namespace std;/' $@
> endif
Index: stepmake/stepmake/compile-vars.make
RCS file: /cvsroot/lilypond/lilypond/stepmake/stepmake/compile-vars.make,v
retrieving revision 1.2
diff -r1.2 compile-vars.make
> ifeq ($(shell uname),Darwin)
> SHARED_FLAGS = -bundle -flat_namespace -undefined suppress
> else
> endif

David Brandon/address@hidden
Ask your doctor if David Brandon is right for you.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]