Ticket #37879: instantclient-portfile.diff
File instantclient-portfile.diff, 4.1 KB (added by iakoder, 12 years ago) |
---|
-
Portfile
old new 4 4 PortSystem 1.0 5 5 6 6 name oracle-instantclient 7 version 1 0.2.0.4.07 version 11.2.0.3.0 8 8 revision 4 9 9 set intel_version ${version} 10 10 set powerpc_version 10.1.0.3 … … 38 38 md5 79c7cb3f8afaff076fb20bad75b37cc9 \ 39 39 sha1 486fe1c9a6c5cfc32401e72728ff821a50a22cf9 \ 40 40 rmd160 c819db7f739b8ca468c8059dfbac31a6a6965938 \ 41 [suffix instantclient-basic- ${intel_version}-macosx-x86] \42 md5 75a7622f6852759294df19878106cd77\43 sha1 c5ea4ca3e55eb8f2ce83b48c268f51fbb48ff867\44 rmd160 3ce70104dfb4a53d2adda96e6ea20bb2cf43ee6f\45 [suffix instantclient-sdk- ${intel_version}-macosx-x86] \46 md5 e8b5ca3b36a1849c2ca9fa3bf7979311\47 sha1 2505faea0e24d52d50b96dc0b22081584de714cb\48 rmd160 4eb78290b0b44e1f80edbf5e7a84552cca70ac05\49 [suffix instantclient-basic- ${intel_version}-macosx-x64] \50 md5 b88c9133c61a2e6b5584879641541d68\51 sha1 1e9cd2d0f77c9d2212beb73cdf5876a538eb7e14\52 rmd160 05c727d57171381c201f92079074a7d907134c2d\53 [suffix instantclient-sdk- ${intel_version}-macosx-x64] \54 md5 fc70b8e5a2f3324f3ab64c0564fd70e3\55 sha1 05968db004808c43b4cc90cea83b904e6618bc9c\56 rmd160 61b6d7059598444be54e1dd43a2e765c3793554f41 [suffix instantclient-basic-macos.x32-${intel_version}] \ 42 md5 124c5ff87f6f40fd55c1a7f3d8cfcacc \ 43 sha1 50cd6a0e7e002aea9cfe7358e76c5974e0274552 \ 44 rmd160 2873cf85d26c1a48afb46e7b17dcdf202763202d \ 45 [suffix instantclient-sdk-macos.x32-${intel_version}] \ 46 md5 9980b0b8bf0e7efd0b687db88dca84cb \ 47 sha1 9bbeba85c37c6f72066d0e2aa5d299d7658a4cc3 \ 48 rmd160 08552dd25177fd6b47e2b1023c3c369033c34ac4 \ 49 [suffix instantclient-basic-macos.x64-${intel_version}] \ 50 md5 fdc6c0c5956db38dd3fe411aec5e6d66 \ 51 sha1 be89f24538d119df35600520d8495f6ca7d8bd58 \ 52 rmd160 218c64b14de1174c48b606736c2f0cfe319668a1 \ 53 [suffix instantclient-sdk-macos.x64-${intel_version}] \ 54 md5 af0deddb05c6ab25d2105d10f3967587 \ 55 sha1 5aab133e5c2de899ce358f410cd0f39f4726e160 \ 56 rmd160 79b32ad761d0300b8a6541801dc27cfbb92496fb 57 57 58 58 # my_arch my_tag my_arch_version my_distname_format my_worksrcdir_format weird_prefix 59 59 set my_arch_info " 60 60 ppc powerpc ${powerpc_version} instantclient-%s-macosx-%s instantclient%s /b/729 61 i386 intel ${intel_version} instantclient-%s- %s-macosx-x86 instantclient_%s /b/32_21662 x86_64 intel ${intel_version} instantclient-%s- %s-macosx-x64 instantclient_%s /b/22761 i386 intel ${intel_version} instantclient-%s-macos.x32-%s instantclient_%s /ade/b/233679120 62 x86_64 intel ${intel_version} instantclient-%s-macos.x64-%s instantclient_%s /ade/b/2649109290 63 63 " 64 64 65 65 if {"powerpc" == ${os.arch}} { … … 163 163 # For each dylib in the distribution, change the directory of its own 164 164 # "soname" to ${lib_dir}. 165 165 foreach lib [glob -directory ${workpath}/build/${my_arch} *.dylib*] { 166 system "chmod +w ${lib}" 166 167 system "install_name_tool -id ${lib_dir}/[strsed ${lib} /^.*\\///] ${lib}" 167 168 168 169 # Then for each dependent dylib with a weird path that this dylib … … 202 203 merge ${workpath}/pre-dest 203 204 204 205 # php5-oracle complains without a libclntsh.dylib symlink. 205 ln -s libclntsh.dylib.1 0.1 ${destroot}${lib_dir}/libclntsh.dylib206 ln -s libclntsh.dylib.11.1 ${destroot}${lib_dir}/libclntsh.dylib 206 207 207 208 # Add a libocci.dylib symlink too for good measure. 208 ln -s libocci.dylib.1 0.1 ${destroot}${lib_dir}/libocci.dylib209 ln -s libocci.dylib.11.1 ${destroot}${lib_dir}/libocci.dylib 209 210 } 210 211 211 212 notes "