Ticket #25798: poco_1.3.6p2_compiler_arch.patch
File poco_1.3.6p2_compiler_arch.patch, 986 bytes (added by nimahoda@…, 14 years ago) |
---|
-
Portfile
old new 5 5 6 6 name poco 7 7 version 1.3.6p2 8 revision 1 8 9 categories devel 9 10 maintainers nox openmaintainer 10 11 platforms darwin … … 29 30 sha1 8356abfb11fc2694fa46d2c93e9b7dce75bd9371 \ 30 31 rmd160 471ad082126dbe0d40494a7b2bce1dbeaac83b78 31 32 32 set config Darwin33 33 set omit {NetSSL_OpenSSL Data/ODBC Data/MySQL Crypto} 34 34 35 configure.args --no-samples 35 # Poco build doesn't support the standard --target config option. 36 if {$build_arch == "x86_64"} { 37 set config Darwin_x86_64 38 } else { 39 set config Darwin 40 } 41 42 configure.args --no-samples --config=${config} 43 44 # Make sure poco build uses the right compiler. 45 build.args-append CC=${configure.cc} \ 46 CXX=${configure.cxx} \ 47 CPP=${configure.cpp} 36 48 37 49 pre-configure { 38 50 configure.args-append --omit=[join ${omit} ,]