Created attachment 450734 [details, diff] Patch against dev-db/oracle-instantclient/oracle-instantclient-12.1.0.2.ebuild At the download site for the Oracle Instant Client, there is also a precompiler package available, which contains precompilers for Pro*C/C++ and Pro*COBOL: http://www.oracle.com/technetwork/topics/linuxx86-64soft-092277.html While I'm not familiar at all with COBOL, I need the Pro*C precompiler at one installation, so I have created an updated ebuild for dev-db/oracle-instantclient-12.1.0.2, which also installs the proc precompiler if USE=precomp is set. It works well enough to satisfy my needs, but it might still need some review. I also hope there is no other package claiming /usr/bin/proc. Attached you'll find a patch against dev-db/oracle-instantclient-12.1.0.2 introducing the precomp USE flag and adding support for the proc compiler. The patched ebuild also applies a patch against demo_proc_ic.mk, similar to the already existing one against demo.mk. I've called this files/12.1.0.2-precomp-gentoo.patch and I'll post it in another attachment.
Created attachment 450736 [details, diff] dev-db/oracle-instantclient/files/12.1.0.2-precomp-gentoo.patch Patch against sdk/demo/demo_proc_ic.mk
Created attachment 450738 [details, diff] Patch against metadata.xml Patch adding a description of the precomp USE flag to metadata.xml
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a8db975b241e26c2cfcc52728829b74bfc2e166 commit 5a8db975b241e26c2cfcc52728829b74bfc2e166 Author: Michael Haubenwallner <haubi@gentoo.org> AuthorDate: 2018-10-19 15:43:13 +0000 Commit: Michael Haubenwallner <haubi@gentoo.org> CommitDate: 2018-10-19 16:25:24 +0000 dev-db/oracle-instantclient: revbump Closes: https://bugs.gentoo.org/578402 Closes: https://bugs.gentoo.org/597520 Closes: https://bugs.gentoo.org/652096 Package-Manager: Portage-2.3.49, Repoman-2.3.10 Signed-off-by: Michael Haubenwallner <haubi@gentoo.org> dev-db/oracle-instantclient/Manifest | 14 + .../files/18.3.0.0-makefile.patch | 40 +++ dev-db/oracle-instantclient/metadata.xml | 11 +- .../oracle-instantclient-18.3.0.0.ebuild | 342 +++++++++++++++++++++ 4 files changed, 402 insertions(+), 5 deletions(-)
Ohw, haven't recognized your additional patches before...
Stefan, please test, thanks! The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1a42dfb7912831eb273d0356822b3870f5fdb7a commit e1a42dfb7912831eb273d0356822b3870f5fdb7a Author: Michael Haubenwallner <haubi@gentoo.org> AuthorDate: Mon Oct 22 14:21:17 2018 +0200 Commit: Michael Haubenwallner <haubi@gentoo.org> CommitDate: Mon Oct 22 14:22:02 2018 +0200 dev-db/oracle-instantclient: fix precomp install With credits to Stefan Gast in bug#597520, tweak paths in demo_proc_ic.mk and pcscfg.cfg, move the latter to /etc/oracle/, and do not install the Pro*COBOL precompiler, but Pro*C only. Also, use relative paths for symlinks. Closes https://bugs.gentoo.org/597520 Package-Manager: Portage-2.3.49, Repoman-2.3.10 Signed-off-by: Michael Haubenwallner <haubi@gentoo.org> .../files/18.3.0.0-makefile.patch | 2 +- .../files/18.3.0.0-proc-makefile.patch | 27 ++ .../oracle-instantclient-18.3.0.0-r1.ebuild | 375 +++++++++++++++++++++ 3 files changed, 403 insertions(+), 1 deletion(-)
Michael, thanks, it works fine now! :)