Ticket #15451: Portfile-rrdtool.diff
File Portfile-rrdtool.diff, 966 bytes (added by hvdwolf@…, 16 years ago) |
---|
-
Portfile
old new 135 135 configure { 136 136 foreach arch ${my_universal_archs} { 137 137 set my_arch_flag "-arch ${arch}" 138 set my_cflags "${configure.cflags} -isysroot ${sysroot} ${my_arch_flag} "138 set my_cflags "${configure.cflags} -isysroot ${sysroot} ${my_arch_flag} -I${prefix}/include -L{prefix}/lib" 139 139 set my_ldflags "${configure.ldflags} ${my_arch_flag}" 140 system "cd ${workpath}/${arch} && CFLAGS=\"${my_cflags}\" CXXFLAGS=\"${my_cflags}\" LDFLAGS=\"${my_ldflags}\" ${configure.cmd} ${configure.pre_args} ${configure.args}" 140 set pcp "{prefix}/lib/pkgconfig" 141 system "cd ${workpath}/${arch} && CFLAGS=\"${my_cflags}\" CXXFLAGS=\"${my_cflags}\" LDFLAGS=\"${my_ldflags}\" PKG_CONFIG_PATH=\"${pcp}\" ${configure.cmd} ${configure.pre_args} ${configure.args}" 141 142 } 142 143 } 143 144