Ticket #36261: libzdb-oracle.diff

File libzdb-oracle.diff, 698 bytes (added by ryandesign (Ryan Carsten Schmidt), 12 years ago)

proposed patch

  • Portfile

     
    125125
    126126subport libzdb-oracle {
    127127
     128    revision            1
     129
    128130    description-append  {Built for oracle.}
    129131
    130132    depends_lib-append      port:oracle-instantclient
     133
     134    if {${os.platform} == "darwin" && ${os.major} > 10} {
     135        # oracle-instantclient 10.2.0.4.0 crashes in 64-bit mode on Lion and up.
     136        supported_archs i386
     137    }
     138
    131139    configure.args-delete   --without-oci
    132140    configure.args-append   --with-oci-include=${prefix}/lib/oracle/sdk/include \
    133141                            --with-oci-lib=${prefix}/lib/oracle \