[Unison-hackers] unison 2.13.16 mac

Ben Willmore ben at opendarwin.org
Mon Aug 29 23:40:31 EDT 2005


On 8/29/05, Trevor Jim <trevor at research.att.com> wrote:
> Hi.  Not sure about XCode 2.1, I'm not running that

FWIW, this fixes the XCode 2.1 problem without breaking previous XCodes:

diff -u -ruN unison.orig/unison-2.13.16/Makefile.OCaml
unison/unison-2.13.16/Makefile.OCaml
--- unison.orig/unison-2.13.16/Makefile.OCaml   2005-08-23
09:01:01.000000000 -0700
+++ unison/unison-2.13.16/Makefile.OCaml        2005-08-23
09:02:04.000000000 -0700
@@ -143,7 +143,7 @@
 # NOTE: the OCAMLLIBDIR is not getting passed correctly?
 macexecutable: $(NAME)-blob.o
        (cd uimac; xcodebuild OCAMLLIBDIR="$(OCAMLLIBDIR)")
-       gcc uimac/cltool.c -o
uimac/build/Unison.app/Contents/MacOS/cltool -framework Carbon
+       gcc uimac/cltool.c -o
uimac/build/Unison.app/Contents/MacOS/cltool -framework Carbon || gcc
uimac/cltool.c -o uimac/build/Default/Unison.app/Conte
nts/MacOS/cltool -framework Carbon
 
 # OCaml objects for the bytecode version
 # File extensions will be substituted for the native code version


More information about the Unison-hackers mailing list