46 | | reinplace s|@@DEVDIR@@|${developer_dir}| ${worksrcpath}/fontforge/macbinary.c \ |
47 | | ${worksrcpath}/fontforge/startui.c \ |
48 | | ${worksrcpath}/gutils/giomime.c |
| 46 | if {${os.major} > 11} { |
| 47 | reinplace s|@@DEVDIR@@|${developer_dir}/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/Developer| ${worksrcpath}/fontforge/macbinary.c \ |
| 48 | ${worksrcpath}/fontforge/startui.c \ |
| 49 | ${worksrcpath}/gutils/giomime.c |
| 50 | foreach file [glob ${worksrcpath}/fontforge/*.c] { |
| 51 | reinplace s|AnchorPoint|FFAnchorPoint|g $file |
| 52 | } |
| 53 | } else { |
| 54 | reinplace s|@@DEVDIR@@|${developer_dir}| ${worksrcpath}/fontforge/macbinary.c \ |
| 55 | ${worksrcpath}/fontforge/startui.c \ |
| 56 | ${worksrcpath}/gutils/giomime.c |
| 57 | } |