Ticket #27763: 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 … … 30 31 sha1 2167220ad0c354c3ae8a9ea1be4a7d91d73976a3 \ 31 32 rmd160 78b82bd8dd19dd4bb599543d860a1aae8585a64f 32 33 33 set config Darwin34 34 set omit {NetSSL_OpenSSL Data/ODBC Data/MySQL Crypto} 35 35 36 configure.args --no-samples 36 # Poco build doesn't support the standard --target config option. 37 if {$build_arch == "x86_64"} { 38 set config Darwin_x86_64 39 } else { 40 set config Darwin 41 } 42 43 configure.args --no-samples --config=${config} 44 45 # Make sure poco build uses the right compiler. 46 build.args-append CC=${configure.cc} \ 47 CXX=${configure.cxx} \ 48 CPP=${configure.cpp} 37 49 38 50 pre-configure { 39 51 configure.args-append --omit=[join ${omit} ,]