0
homepage http://www.oracle.com/technology/software/tech/oci/instantclient/
0
-
worksrcdir instantclient[join [lrange [split ${version} .] 0 1] _]0
Oracle database connection libraries
0
Oracle Instant Client allows you to run your applications without installing the standard Oracle client or having an ORACLE_HOME.
0
- http://download.oracle.com/otn/mac/instantclient/
0
+ worksrcdir instantclient[join [lrange [split ${version} .] 0 1] _]
0
+ set weird_prefix /b/729
0
+ http://download.oracle.com/otn/mac/instantclient/
0
+ instantclient-basic-macosx-${version}${extract.suffix} \
0
+ instantclient-sdk-macosx-${version}${extract.suffix}
0
+ instantclient-basic-macosx-${version}${extract.suffix} \
0
+ md5 5b38ab0565d6189d2069a4abe0bf2ab2 \
0
+ sha1 2f3aa35e99228fd08b686b19eba84ec34db8277b \
0
+ rmd160 d1f056f8f1b308c5493f4938b29b55fcb32452cf \
0
+ instantclient-sdk-macosx-${version}${extract.suffix} \
0
+ md5 79c7cb3f8afaff076fb20bad75b37cc9 \
0
+ sha1 486fe1c9a6c5cfc32401e72728ff821a50a22cf9 \
0
+ rmd160 c819db7f739b8ca468c8059dfbac31a6a6965938
0
- instantclient-basic-macosx-${version}${extract.suffix} \
0
- instantclient-sdk-macosx-${version}${extract.suffix}
0
- instantclient-basic-macosx-${version}${extract.suffix} \
0
- md5 5b38ab0565d6189d2069a4abe0bf2ab2 \
0
- sha1 2f3aa35e99228fd08b686b19eba84ec34db8277b \
0
- rmd160 d1f056f8f1b308c5493f4938b29b55fcb32452cf \
0
- instantclient-sdk-macosx-${version}${extract.suffix} \
0
- md5 79c7cb3f8afaff076fb20bad75b37cc9 \
0
- sha1 486fe1c9a6c5cfc32401e72728ff821a50a22cf9 \
0
- rmd160 c819db7f739b8ca468c8059dfbac31a6a6965938
0
- if { [string compare ${os.endian} "big"] != 0 } {
0
- return -code error "${name} is only available for PowerPC-based Macs at this time. Oracle says they will release a version for Intel-based Macs in Q1 CY2008."
0
+ worksrcdir instantclient_[join [lrange [split ${version} .] 0 1] _]
0
+ set weird_prefix /scratch/plebld/208
0
+ http://download.oracle.com/otn/mac/instantclient/10204/
0
+ instantclient-basic-macosx-${version}${extract.suffix} \
0
+ instantclient-sdk-macosx-${version}${extract.suffix}
0
+ instantclient-basic-macosx-${version}${extract.suffix} \
0
+ md5 383826be2873ece610da63b833eff052 \
0
+ sha1 91e408a580dc5a415e5906ff71c837d6a8b628c9 \
0
+ rmd160 fdd5d8a7d6034ba852a06ce378e1775f13a1519d \
0
+ instantclient-sdk-macosx-${version}${extract.suffix} \
0
+ md5 8aa52afeb9529d953c494e0233eb7c52 \
0
+ sha1 6f32cda591c61112c6f963698fdc829ab6a59e7f \
0
+ rmd160 e672eadc6fb0eccbe42cd49663128f011abfe493
0
set lib_dir ${prefix}/lib/oracle
0
- # The pre-built libraries use weird prefixes like /b/729/rdbms and Oracle
0
- # recommends setting DYLD_LIBRARY_PATH to deal with this. I find that ill-
0
- # advised and would rather fix the paths in the libraries at install time.
0
+ # The pre-built libraries use weird prefixes and Oracle recommends setting
0
+ # DYLD_LIBRARY_PATH to deal with this. I would rather fix the paths in the
0
+ # libraries at install time.
0
+ # Annoyingly, I can't do that for the Intel version right now because
0
+ # install_name_tool says "malformed object (unknown load command 8)" (or 7).
0
- # For each dylib in the distribution, change the directory of its own
0
- # "soname" to our ${lib_dir}.
0
- foreach lib [glob -directory ${worksrcpath} *.dylib*] {
0
- system "install_name_tool -id ${lib_dir}/[strsed ${lib} /^.*\\///] ${lib}"
0
- # Then for each dependent dylib with a weird path that this dylib
0
- # references, fix the reference to use our ${lib_dir}.
0
- foreach dep [exec otool -L ${lib}] {
0
- if [string match "/b/729/*" ${dep}] {
0
- system "install_name_tool -change ${dep} ${lib_dir}/[strsed ${dep} /^.*\\///] ${lib}"
0
+ if {![variant_isset i386]} {
0
+ # For each dylib in the distribution, change the directory of its own
0
+ # "soname" to our ${lib_dir}.
0
+ foreach lib [glob -directory ${worksrcpath} *.dylib*] {
0
+ system "install_name_tool -id ${lib_dir}/[strsed ${lib} /^.*\\///] ${lib}"
0
+ # Then for each dependent dylib with a weird path that this dylib
0
+ # references, fix the reference to use our ${lib_dir}.
0
+ foreach dep [exec otool -L ${lib}] {
0
+ if [string match "${weird_prefix}/*" ${dep}] {
0
+ system "install_name_tool -change ${dep} ${lib_dir}/[strsed ${dep} /^.*\\///] ${lib}"
Comments
No one has commented yet.