Ticket #36264: soci-devel.diff

File soci-devel.diff, 882 bytes (added by ryandesign (Ryan Carsten Schmidt), 12 years ago)

proposed patch

  • Portfile

     
    66
    77name                        soci-devel
    88version                     20110925
    9 revision                    1
     9revision                    2
    1010license                     Boost-1
    1111categories                  databases devel
    1212platforms                   darwin
     
    6969    configure.args-delete       -DWITH_ORACLE=OFF
    7070    configure.env-append        ORACLE_HOME=${prefix}/lib/oracle
    7171}
     72if {[variant_isset oracle] && ${os.platform} == "darwin" && ${os.major} > 10} {
     73    # oracle-instantclient 10.2.0.4.0 crashes in 64-bit mode on Lion and up.
     74    supported_archs i386
     75}
    7276
    7377variant postgresql84 conflicts postgresql90 \
    7478        description {Build PostgreSQL 8.4 backend, using MacPorts postgresql84 port} {