diff -u /opt/local/var/macports/sources/rsync.macports.org/release/ports/graphics/cairo/Portfile cairo.new/Portfile
old
|
new
|
|
87 | 87 | } |
88 | 88 | |
89 | 89 | configure { |
90 | | foreach arch ${my_universal_archs} { |
| 90 | set arch i386 |
| 91 | set my_host i686-apple-darwin8 |
91 | 92 | set my_arch_flag "-arch ${arch}" |
92 | 93 | set my_cflags "${configure.cflags} -isysroot ${sysroot} ${my_arch_flag}" |
93 | 94 | set my_ldflags "${configure.ldflags} ${my_arch_flag}" |
94 | | system "cd ${workpath}/${arch} && CFLAGS=\"${my_cflags}\" CXXFLAGS=\"${my_cflags}\" LDFLAGS=\"${my_ldflags}\" ${configure.cmd} ${configure.pre_args} ${configure.args}" |
95 | | } |
96 | | } |
97 | | |
| 95 | system "cd ${workpath}/${arch} && CFLAGS=\"${my_cflags}\" CXXFLAGS=\"${my_cflags}\" LDFLAGS=\"${my_ldflags}\" ${configure.cmd} ${configure.pre_args} ${configure.args} --host=${my_host}" |
| 96 | set arch ppc |
| 97 | set my_host powerpc-apple-darwin8 |
| 98 | set my_arch_flag "-arch ${arch}" |
| 99 | set my_cflags "${configure.cflags} -isysroot ${sysroot} ${my_arch_flag}" |
| 100 | set my_ldflags "${configure.ldflags} ${my_arch_flag}" |
| 101 | system "cd ${workpath}/${arch} && CFLAGS=\"${my_cflags}\" CXXFLAGS=\"${my_cflags}\" LDFLAGS=\"${my_ldflags}\" ${configure.cmd} ${configure.pre_args} ${configure.args} --host=${my_host}" |
| 102 | } |
| 103 | |
98 | 104 | build { |
99 | 105 | foreach arch ${my_universal_archs} { |
100 | 106 | system "cd ${workpath}/${arch} && ${build.cmd} ${build.pre_args}" |