Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 69099 Details for
Bug 107023
Add amd64 support to oracle-instantclient-{basic,sqlplus}
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to dev-db/oracle-instantclient-sqlplus-10.1.0.3.ebuild
oracle_sqlplus.diff (text/plain), 2.30 KB, created by
Andy Lutomirski
on 2005-09-23 11:16:34 UTC
(
hide
)
Description:
Patch to dev-db/oracle-instantclient-sqlplus-10.1.0.3.ebuild
Filename:
MIME Type:
Creator:
Andy Lutomirski
Created:
2005-09-23 11:16:34 UTC
Size:
2.30 KB
patch
obsolete
>--- oracle-instantclient-basic-10.1.0.3.ebuild~amd64 2005-09-23 11:13:51.000000000 -0700 >+++ oracle-instantclient-basic-10.1.0.3.ebuild 2005-09-23 00:55:46.000000000 -0700 >@@ -4,37 +4,63 @@ > > inherit eutils > >-MY_P="${P}-1.i386" >-MY_PSDK="${MY_P/basic/devel}" >+x86libs="${P}-1.i386.rpm" >+x86sdk="${x86libs/basic/devel}" >+amd64libs="instantclient-basic-linux-x86-64-$PV.zip" >+amd64sdk="${amd64libs/basic/sdk}" > > S=${WORKDIR} > DESCRIPTION="Oracle 10g client installation for Linux with SDK" > HOMEPAGE="http://otn.oracle.com/software/tech/oci/instantclient/htdocs/linuxsoft.html" >-SRC_URI="${MY_P}.rpm ${MY_PSDK}.rpm" >+SRC_URI="x86? ( $x86libs $x86sdk ) amd64? ( $amd64libs $amd64sdk )" > > LICENSE="OTN" > SLOT="${KV}" >-KEYWORDS="~x86" >+KEYWORDS="~x86 ~amd64" > RESTRICT="fetch" > IUSE="" > >-DEPEND="app-arch/rpm2targz" >+DEPEND="x86? ( app-arch/rpm2targz ) >+ amd64? ( app-arch/unzip )" > > pkg_nofetch() { > eerror "Please go to:" >- eerror " ${HOMEPAGE}" >+ if use x86; then >+ eerror " ${HOMEPAGE}" >+ else >+ eerror \ >+ " http://www.oracle.com/technology/software/tech/oci/instantclient/htdocs/linuxx86_64soft.html" >+ fi > eerror "and download the Basic client package with SDK, which are:" >- eerror " ${MY_P}.rpm" >- eerror " ${MY_PSDK}.rpm" >+ if use x86; then >+ eerror " ${x86libs}" >+ eerror " ${x86sdk}" >+ else >+ eerror " ${amd64libs}" >+ eerror " ${amd64sdk}" >+ fi > eerror "Then after downloading put them in:" > eerror " ${DISTDIR}" > } > > src_unpack() { >- rpm2targz ${DISTDIR}/${MY_P}.rpm >- tar zxf ${WORKDIR}/${MY_P}.tar.gz >- rpm2targz ${DISTDIR}/${MY_PSDK}.rpm >- tar zxf ${WORKDIR}/${MY_PSDK}.tar.gz >+ if use x86; then >+ rpm2targz ${DISTDIR}/${x86libs} >+ tar zxf ${WORKDIR}/${x86libs%.rpm}.tar.gz >+ rpm2targz ${DISTDIR}/${x86sdk} >+ tar zxf ${WORKDIR}/${x86sdk%.rpm}.tar.gz >+ else >+ unzip ${DISTDIR}/${amd64libs} >+ unzip ${DISTDIR}/${amd64sdk} >+ >+ mkdir -p usr/include/oracle/${PV} >+ mkdir -p usr/share/oracle/${PV} >+ mkdir -p usr/lib/oracle/${PV}/client >+ mv instantclient10_1/sdk/include usr/include/oracle/${PV}/client >+ mv instantclient10_1/sdk/demo usr/share/oracle/${PV}/client >+ rm -rf instantclient10_1/sdk >+ mv instantclient10_1 usr/lib/oracle/${PV}/client/lib >+ fi > > # this is needed because of sdk package as we handle symlinks using dosym in src_install > rm -f ${S}/usr/lib/oracle/${PV}/client/lib/libclntsh.so
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 107023
:
69098
| 69099