Ticket #36260: TOra.diff
File TOra.diff, 2.5 KB (added by ryandesign (Ryan Carsten Schmidt), 12 years ago) |
---|
-
Portfile
6 6 7 7 name TOra 8 8 version 2.1.3 9 revision 29 revision 3 10 10 description GUI tool for Oracle, PostgreSQL, and MySQL 11 11 long_description Database developer/DBA frontend for various DB servers. 12 12 maintainers scribus.info:petr … … 25 25 # WARNING: postgresql83 is there due to qt4-mac's dependency on it. 26 26 # It's dangerous to mix library versions in one binary. It's required 27 27 # to spot qt4-mac's dependencies' version bumps. 28 depends_lib port:qscintilla \ 29 port:oracle-instantclient 28 depends_lib port:qscintilla 30 29 31 30 patchfiles patch-osx_tools-Info.plist.in.diff 32 31 … … 37 36 -DCMAKE_INCLUDE_PATH=${prefix}/include \ 38 37 -DUSE_PCH=0 \ 39 38 -Dmacports_prefix=${prefix} \ 40 -DORACLE_PATH_INCLUDES=${prefix}/lib/oracle/sdk/include \41 -DORACLE_PATH_LIB=${prefix}/lib/oracle \42 39 -DWANT_BUNDLE=1 \ 43 40 -DWANT_BUNDLE_STANDALONE=0 \ 44 41 -DWANT_RPM=0 \ 45 42 -DWANT_INTERNAL_QSCINTILLA=0 \ 46 43 -DENABLE_DB2=0 \ 44 -DENABLE_ORACLE=0 \ 47 45 ${qt_cmake_defines} . 48 46 49 47 … … 85 83 86 84 # 87 85 # Oracle 88 variant no_oracle description {Disable support for Oracle} { 89 depends_lib-delete port:oracle-instantclient 90 configure.pre_args-append -DENABLE_ORACLE=0 86 variant no_oracle conflicts oracle description {Legacy compatibility variant} {} 87 variant oracle conflicts no_oracle description {Enable support for Oracle} { 88 depends_lib-append port:oracle-instantclient 89 configure.args-delete -DENABLE_ORACLE=0 90 configure.args-append -DENABLE_ORACLE=1 \ 91 -DORACLE_PATH_INCLUDES=${prefix}/lib/oracle/sdk/include \ 92 -DORACLE_PATH_LIB=${prefix}/lib/oracle \ 91 93 } 94 if {[variant_isset no_oracle]} { 95 default_variants -oracle 96 } else { 97 default_variants +oracle 98 } 99 if {[variant_isset oracle] && ${os.platform} == "darwin" && ${os.major} > 10} { 100 # oracle-instantclient 10.2.0.4.0 crashes in 64-bit mode on Lion and up. 101 supported_archs i386 102 } 92 103 93 104 # 94 105 # Debug