Author Topic: Patches  (Read 458 times)

pojo

  • Wayfarer
  • *
  • Posts: 2
    • View Profile
Patches
« on: December 26, 2004, 02:24:43 pm »
Since I couldn\'t find a normal open source method of submitting this, and I\'m sure if other people want to compile it on their mac, this is helpful, I\'ll post it here:

This patch just fixes the DEEPCOPY variable (not sure if this is the right place to put it, but I think the Mac is the only thing that uses it). It looks like it just got left out when they were copying this from crystal space. You can either use this patch, or just add
Code: [Select]
DEEPCOPY ?= \"cp -R\" ;
to the top of mk/jam/macosx.jam


Index: macosx.jam
===================================================================
RCS file: /cvsroot/planeshift/planeshift/mk/jam/macosx.jam,v
retrieving revision 1.6
diff -u -r1.6 macosx.jam
--- macosx.jam  6 Feb 2004 02:35:35 -0000   1.6
+++ macosx.jam   26 Dec 2004 19:11:24 -0000
@@ -3,6 +3,7 @@
 # Copyright (C) 2003 by Eric Sunshine
 #============================================================================
 SHELL ?= \"/bin/sh\" ;
+DEEPCOPY ?= \"cp -R\" ;
 
 APPLICATION.LFLAGS += \"-framework AppKit -framework Foundation\" ;
 APPLICATION.CONSOLE.LFLAGS += \"-framework AppKit -framework Foundation\" ;

pojo

  • Wayfarer
  • *
  • Posts: 2
    • View Profile
(No subject)
« Reply #1 on: December 26, 2004, 03:07:12 pm »
Another note, it appears when compiling planeshift, that the location of the cel headers is wrong (and I don\'t see how you can specify them with the configure script).

It always defaults to /usr/local/cel/include, and cel puts it\'s files in:
/usr/local/include/cel, so just swap the two last directories in your Jamconfig to get it to compile.