forked from Lainports/freebsd-ports
16 lines
656 B
C
16 lines
656 B
C
--- src/gcompris/gcompris.c.orig 2008-07-04 17:35:40.000000000 -0400
|
|
+++ src/gcompris/gcompris.c 2008-08-15 02:05:47.000000000 -0400
|
|
@@ -1127,11 +1127,11 @@ static void load_properties ()
|
|
#ifdef NSBUNDLE
|
|
exec_prefix = gcompris_nsbundle_resource ();
|
|
#else
|
|
- exec_prefix = gbr_find_exe_dir(NULL);
|
|
+ exec_prefix = gbr_find_exe_dir("%%PREFIX%%");
|
|
#endif
|
|
g_warning("exec_prefix %s\n", (exec_prefix==NULL ? "NONE" : exec_prefix));
|
|
|
|
- prefix_dir = gbr_find_prefix(NULL);
|
|
+ prefix_dir = gbr_find_prefix("%%PREFIX%%");
|
|
|
|
/* Check if we are in the source code (developper usage) */
|
|
tmpstr = g_strconcat(prefix_dir, "/gcompris/gcompris.c", NULL);
|