--- opentyrian/Makefile.orig 2009-07-02 23:19:47.000000000 +0100 +++ opentyrian/Makefile 2009-07-02 23:20:27.000000000 +0100 @@ -54,6 +54,9 @@ CFLAGS += -DSVN_REV=\"$(SVN_REV)\" endif +ifneq ($(DATA_PATH), ) + CFLAGS += -DDATA_PATH=\"$(DATA_PATH)\" +endif #################################################### all : $(TARGET) --- opentyrian/src/error.c.orig 2009-07-02 23:17:00.000000000 +0100 +++ opentyrian/src/error.c 2009-07-02 23:21:01.000000000 +0100 @@ -33,7 +33,7 @@ JE_boolean dont_die = false; #ifndef TARGET_MACOSX -static const char *tyrian_searchpaths[] = { "data", "tyrian", "tyrian21" }; +static const char *tyrian_searchpaths[] = { DATA_PATH , "data", "tyrian", "tyrian21" }; #endif JE_longint JE_getFileSize( const char *filename )