Ticket #27437: fix_tiger.diff
File fix_tiger.diff, 1.8 KB (added by elelay (Eric Le Lay), 14 years ago) |
---|
-
files/patch-wscript-dont-look-for-libm.diff
1 --- wscript.m 2010-11-22 19:53:59.000000000 +0100 2 +++ wscript 2010-11-22 19:54:32.000000000 +0100 3 @@ -202,7 +202,6 @@ 4 libnotify = 'no ' 5 conf.define ('HAVE_LIBNOTIFY', [0,1][libnotify == 'yes']) 6 7 - conf.check (lib='m', mandatory=True) 8 check_pkg ('gmodule-2.0', '2.8.0', False) 9 check_pkg ('gthread-2.0', '2.8.0', False) 10 check_pkg ('gio-2.0', '2.16.0') -
files/patch-wscript-darwin-options.diff
1 --- wscript.ini 2010-11-23 21:12:53.000000000 +0100 2 +++ wscript 2010-11-23 20:26:12.000000000 +0100 3 @@ -88,6 +88,16 @@ 4 return dirvalue 5 6 conf.check_tool ('compiler_cc') 7 + conf.check_tool('gcc', funs=''' 8 +find_gcc 9 +find_cpp 10 +find_ar 11 +gcc_common_flags 12 +gcc_modifier_darwin 13 +cc_add_flags 14 +cc_load_tools 15 +''' 16 +) 17 conf.check_tool ('osx') 18 if option_enabled ('vala'): 19 if find_program_impl (conf.env, 'valac'): -
Portfile
38 38 configure.cmd-append --disable-libnotify 39 39 } 40 40 41 platform darwin 8 { 42 # required for Tiger 43 patchfiles-append patch-wscript-dont-look-for-libm.diff \ 44 patch-wscript-darwin-options.diff 45 } 46 41 47 # can't seem to get libunique to work (throws dbus errors on startup) 42 48 depends_lib-delete port:libunique 43 49 configure.cmd-append --disable-unique