summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Scherbaum <dertobi123@gentoo.org>2008-03-08 20:50:47 +0000
committerTobias Scherbaum <dertobi123@gentoo.org>2008-03-08 20:50:47 +0000
commit67dd3b33a74592bc0da7fcff28c89cd6de6fcf71 (patch)
tree6aead3f893b9e8136ae88193bc179c9d484acfe6 /dev-db/oracle-instantclient-basic
parentunquote A, x86 stable, bug #212667 (diff)
downloadgentoo-2-67dd3b33a74592bc0da7fcff28c89cd6de6fcf71.tar.gz
gentoo-2-67dd3b33a74592bc0da7fcff28c89cd6de6fcf71.tar.bz2
gentoo-2-67dd3b33a74592bc0da7fcff28c89cd6de6fcf71.zip
Fix multilib handling, bug #208425
(Portage version: 2.1.4.4)
Diffstat (limited to 'dev-db/oracle-instantclient-basic')
-rw-r--r--dev-db/oracle-instantclient-basic/ChangeLog9
-rw-r--r--dev-db/oracle-instantclient-basic/oracle-instantclient-basic-10.1.0.5.ebuild24
-rw-r--r--dev-db/oracle-instantclient-basic/oracle-instantclient-basic-10.2.0.3.ebuild28
3 files changed, 33 insertions, 28 deletions
diff --git a/dev-db/oracle-instantclient-basic/ChangeLog b/dev-db/oracle-instantclient-basic/ChangeLog
index bac62f7e7b85..a7b01692e9cf 100644
--- a/dev-db/oracle-instantclient-basic/ChangeLog
+++ b/dev-db/oracle-instantclient-basic/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-db/oracle-instantclient-basic
-# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/oracle-instantclient-basic/ChangeLog,v 1.27 2007/08/19 14:33:10 angelos Exp $
+# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/oracle-instantclient-basic/ChangeLog,v 1.28 2008/03/08 20:50:47 dertobi123 Exp $
+
+ 08 Mar 2008; Tobias Scherbaum <dertobi123@gentoo.org>
+ oracle-instantclient-basic-10.1.0.5.ebuild,
+ oracle-instantclient-basic-10.2.0.3.ebuild:
+ Fix multilib handling, bug #208425
19 Aug 2007; Christoph Mende <angelos@gentoo.org>
oracle-instantclient-basic-10.2.0.3.ebuild:
diff --git a/dev-db/oracle-instantclient-basic/oracle-instantclient-basic-10.1.0.5.ebuild b/dev-db/oracle-instantclient-basic/oracle-instantclient-basic-10.1.0.5.ebuild
index 90c20c4ca885..657ae95c9688 100644
--- a/dev-db/oracle-instantclient-basic/oracle-instantclient-basic-10.1.0.5.ebuild
+++ b/dev-db/oracle-instantclient-basic/oracle-instantclient-basic-10.1.0.5.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/oracle-instantclient-basic/oracle-instantclient-basic-10.1.0.5.ebuild,v 1.4 2007/01/31 13:49:45 genone Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/oracle-instantclient-basic/oracle-instantclient-basic-10.1.0.5.ebuild,v 1.5 2008/03/08 20:50:47 dertobi123 Exp $
inherit eutils
@@ -39,23 +39,23 @@ src_unpack() {
src_install() {
# library
- dodir /usr/lib/oracle/${PV}/client/lib
+ dodir /usr/$(get_libdir)/oracle/${PV}/client/lib
cd ${S}/instantclient10_1
- insinto /usr/lib/oracle/${PV}/client/lib
+ insinto /usr/$(get_libdir)/oracle/${PV}/client/lib
doins *.jar *.so *.so.10.1
# fixes symlinks
- dosym /usr/lib/oracle/${PV}/client/lib/libocci.so.10.1 /usr/lib/oracle/${PV}/client/lib/libocci.so
- dosym /usr/lib/oracle/${PV}/client/lib/libclntsh.so.10.1 /usr/lib/oracle/${PV}/client/lib/libclntsh.so
+ dosym /usr/$(get_libdir)/oracle/${PV}/client/lib/libocci.so.10.1 /usr/$(get_libdir)/oracle/${PV}/client/lib/libocci.so
+ dosym /usr/$(get_libdir)/oracle/${PV}/client/lib/libclntsh.so.10.1 /usr/$(get_libdir)/oracle/${PV}/client/lib/libclntsh.so
# includes
- dodir /usr/lib/oracle/${PV}/client/include
- insinto /usr/lib/oracle/${PV}/client/include
+ dodir /usr/$(get_libdir)/oracle/${PV}/client/include
+ insinto /usr/$(get_libdir)/oracle/${PV}/client/include
cd ${S}/instantclient10_1/sdk/include
doins *.h
# link to original location
dodir /usr/include/oracle/${PV}/
- ln -s ${D}/usr/lib/oracle/${PV}/client/include ${D}/usr/include/oracle/${PV}/client
+ ln -s ${D}/usr/$(get_libdir)/oracle/${PV}/client/include ${D}/usr/include/oracle/${PV}/client
# share info
cd ${S}/instantclient10_1/sdk/demo
@@ -63,9 +63,9 @@ src_install() {
# Add OCI libs to library path
dodir /etc/env.d
- echo "ORACLE_HOME=/usr/lib/oracle/${PV}/client" >> ${D}/etc/env.d/50oracle-instantclient-basic
- echo "LDPATH=/usr/lib/oracle/${PV}/client/lib" >> ${D}/etc/env.d/50oracle-instantclient-basic
- echo "C_INCLUDE_PATH=/usr/lib/oracle/${PV}/client/include" >> ${D}/etc/env.d/50oracle-instantclient-basic
+ echo "ORACLE_HOME=/usr/$(get_libdir)/oracle/${PV}/client" >> ${D}/etc/env.d/50oracle-instantclient-basic
+ echo "LDPATH=/usr/$(get_libdir)/oracle/${PV}/client/lib" >> ${D}/etc/env.d/50oracle-instantclient-basic
+ echo "C_INCLUDE_PATH=/usr/$(get_libdir)/oracle/${PV}/client/include" >> ${D}/etc/env.d/50oracle-instantclient-basic
}
diff --git a/dev-db/oracle-instantclient-basic/oracle-instantclient-basic-10.2.0.3.ebuild b/dev-db/oracle-instantclient-basic/oracle-instantclient-basic-10.2.0.3.ebuild
index 80b806448713..04c8e1d57d10 100644
--- a/dev-db/oracle-instantclient-basic/oracle-instantclient-basic-10.2.0.3.ebuild
+++ b/dev-db/oracle-instantclient-basic/oracle-instantclient-basic-10.2.0.3.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/oracle-instantclient-basic/oracle-instantclient-basic-10.2.0.3.ebuild,v 1.6 2007/08/19 14:33:10 angelos Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/oracle-instantclient-basic/oracle-instantclient-basic-10.2.0.3.ebuild,v 1.7 2008/03/08 20:50:47 dertobi123 Exp $
inherit eutils
@@ -58,30 +58,30 @@ src_install() {
epatch ${FILESDIR}/${P}-makefile.patch
# SDK makefile
- dodir /usr/lib/oracle/${PV}/client/rdbms/demo
+ dodir /usr/$(get_libdir)/oracle/${PV}/client/rdbms/demo
cd ${S}/instantclient_10_2/sdk/demo
mv demo.mk demo_xe.mk
- insinto /usr/lib/oracle/${PV}/client/rdbms/demo
+ insinto /usr/$(get_libdir)/oracle/${PV}/client/rdbms/demo
doins demo_xe.mk
# library
- dodir /usr/lib/oracle/${PV}/client/lib
+ dodir /usr/$(get_libdir)/oracle/${PV}/client/lib
cd ${S}/instantclient_10_2
- insinto /usr/lib/oracle/${PV}/client/lib
+ insinto /usr/$(get_libdir)/oracle/${PV}/client/lib
doins *.jar *.so *.so.10.1
# fixes symlinks
- dosym /usr/lib/oracle/${PV}/client/lib/libocci.so.10.1 /usr/lib/oracle/${PV}/client/lib/libocci.so
- dosym /usr/lib/oracle/${PV}/client/lib/libclntsh.so.10.1 /usr/lib/oracle/${PV}/client/lib/libclntsh.so
+ dosym /usr/$(get_libdir)/oracle/${PV}/client/lib/libocci.so.10.1 /usr/$(get_libdir)/oracle/${PV}/client/lib/libocci.so
+ dosym /usr/$(get_libdir)/oracle/${PV}/client/lib/libclntsh.so.10.1 /usr/$(get_libdir)/oracle/${PV}/client/lib/libclntsh.so
# includes
- dodir /usr/lib/oracle/${PV}/client/include
- insinto /usr/lib/oracle/${PV}/client/include
+ dodir /usr/$(get_libdir)/oracle/${PV}/client/include
+ insinto /usr/$(get_libdir)/oracle/${PV}/client/include
cd ${S}/instantclient_10_2/sdk/include
doins *.h
# link to original location
dodir /usr/include/oracle/${PV}/
- ln -s ${D}/usr/lib/oracle/${PV}/client/include ${D}/usr/include/oracle/${PV}/client
+ ln -s ${D}/usr/$(get_libdir)/oracle/${PV}/client/include ${D}/usr/include/oracle/${PV}/client
# share info
cd ${S}/instantclient_10_2/sdk/demo
@@ -89,9 +89,9 @@ src_install() {
# Add OCI libs to library path
dodir /etc/env.d
- echo "ORACLE_HOME=/usr/lib/oracle/${PV}/client" >> ${D}/etc/env.d/50oracle-instantclient-basic
- echo "LDPATH=/usr/lib/oracle/${PV}/client/lib" >> ${D}/etc/env.d/50oracle-instantclient-basic
- echo "C_INCLUDE_PATH=/usr/lib/oracle/${PV}/client/include" >> ${D}/etc/env.d/50oracle-instantclient-basic
+ echo "ORACLE_HOME=/usr/$(get_libdir)/oracle/${PV}/client" >> ${D}/etc/env.d/50oracle-instantclient-basic
+ echo "LDPATH=/usr/$(get_libdir)/oracle/${PV}/client/lib" >> ${D}/etc/env.d/50oracle-instantclient-basic
+ echo "C_INCLUDE_PATH=/usr/$(get_libdir)/oracle/${PV}/client/include" >> ${D}/etc/env.d/50oracle-instantclient-basic
}
pkg_postinst() {