Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 3440 - add USE switch for ORACLE support
Summary: add USE switch for ORACLE support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Ryan Phillips (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-06-06 02:14 UTC by Roman Majer
Modified: 2002-06-17 03:01 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
my idea for new ebuild (php-4.2.1-r2.ebuild.gz,2.54 KB, text/plain)
2002-06-06 03:21 UTC, Roman Majer
Details
sorry, this is that,,, (php-4.2.1-r2.ebuild.gz,2.54 KB, application/x-gzip-compressed)
2002-06-06 03:36 UTC, Roman Majer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Roman Majer 2002-06-06 02:14:19 UTC
Hallo,

We are using the oracle 8.1.7 on our server (now on gentoo).

We are using apache+php combination.
It would be nice to have USE option, for example Oci8, so
the php ebuild will know, that on the system is oracle installed.

The ebuild can do after some logic:

if USE = oci8 and env. variable ORACLE_HOME exists, so add
--with-oci8 flag to ./configure

This time I must patch ebuild of php for every upgrade...

This switch can be also used in other packages like
tomcat -> for adding the oracle JDBC driver
jboss
and so on...
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2002-06-06 02:24:49 UTC
Ryan, what's the effect of just putting that configure flag in by default?
Comment 2 Ryan Phillips (RETIRED) gentoo-dev 2002-06-06 02:35:44 UTC
can do...  Roman, can you submit a patch?
Comment 3 Roman Majer 2002-06-06 02:42:45 UTC
I will try, but it will be my first patch in my live, so
be prepared for "not nice"...
Comment 4 Roman Majer 2002-06-06 03:21:49 UTC
Created attachment 1362 [details]
my idea for new ebuild
Comment 5 Roman Majer 2002-06-06 03:36:59 UTC
Created attachment 1363 [details]
sorry, this is that,,,
Comment 6 Ryan Phillips (RETIRED) gentoo-dev 2002-06-14 15:44:00 UTC
Roman:  What are the patches compressed as?
Comment 7 Roman Majer 2002-06-17 02:21:22 UTC
gzip
Comment 8 Ryan Phillips (RETIRED) gentoo-dev 2002-06-17 03:01:30 UTC
committed