Bug 165834 - dev-db/oracle-instantclient-basic-10.2.0.3 omits sdk/demo/demo.mk file required to build some programs against oracle libs
Bug#: 165834 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: dertobi123@gentoo.org Reported By: vi@sh.nu
Component: Ebuilds
URL: 
Summary: dev-db/oracle-instantclient-basic-10.2.0.3 omits sdk/demo/demo.mk file required to build some programs against oracle libs
Keywords:  
Status Whiteboard: 
Opened: 2007-02-07 21:28 0000
Description:   Opened: 2007-02-07 21:28 0000
Within the instantclient-sdk-linux{32,-x86-64}-10.2.0.3-20070103.zip files
exists a directory named sdk/demo which contains the file demo.mk. Some
programs, like the DBD::Oracle perl module, require this file to compile. I've
changed the oracle-instantclient-basic-10.2.0.3.ebuild file to install this
file, but named as demo_xe.mk, since this is what DBD::Oracle's make process
looks for, with a slight alteration to ensure that needed CFLAGS are included.
This allowed me to install DBD::Oracle directly from g-cpan without failure.

Reproducible: Always

Steps to Reproduce:
1. g-cpan -i DBD::Oracle
2.
3.

Actual Results:  
It fails to build.

Expected Results:  
It should build, but doesn't, because of oracle-instantclient-basic's lack of
demo.mk.

Attachments follow.

------- Comment #1 From Daniel Ceregatti 2007-02-07 21:29:58 0000 -------
Created an attachment (id=109467) [details]
Replacement
oracle-instantclient-basic/oracle-instantclient-basic-10.2.0.3.ebuild

------- Comment #2 From Daniel Ceregatti 2007-02-07 21:32:02 0000 -------
Created an attachment (id=109468) [details]
Patch for new ebuild, patches demo_xe.mk, goes in ${FILESDIR}

------- Comment #3 From Jakub Moc (RETIRED) 2007-02-07 21:39:23 0000 -------
Please, use unified diff instead of attaching the whole ebuild.

------- Comment #4 From Daniel Ceregatti 2007-02-07 22:11:28 0000 -------
Created an attachment (id=109469) [details]
Replacement
oracle-instantclient-basic/oracle-instantclient-basic-10.2.0.3.ebuild

As requested. 

------- Comment #5 From Tobias Scherbaum 2007-03-25 16:41:47 0000 -------
Fixed in CVS. Thanks!