Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 318696 Details for
Bug 224205
sci-libs/gdal: patch for supporting oracle
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch that adds oci support to gdal-1.9.1
gdal-1.9.1-oracle.patch (text/plain), 2.54 KB, created by
r4w
on 2012-07-20 09:14:17 UTC
(
hide
)
Description:
patch that adds oci support to gdal-1.9.1
Filename:
MIME Type:
Creator:
r4w
Created:
2012-07-20 09:14:17 UTC
Size:
2.54 KB
patch
obsolete
>--- /usr/portage/sci-libs/gdal/gdal-1.9.1.ebuild 2012-05-27 10:01:25.000000000 +0200 >+++ /usr/local/portage/sci-libs/gdal/gdal-1.9.1.ebuild 2012-07-20 11:05:38.796119975 +0200 >@@ -8,7 +8,7 @@ WANT_AUTOCONF="2.5" > > PYTHON_DEPEND="python? 2:2.6" > >-inherit autotools eutils libtool perl-module python toolchain-funcs java-pkg-opt-2 >+inherit autotools eutils libtool perl-module python toolchain-funcs java-pkg-opt-2 flag-o-matic > > DESCRIPTION="Translator library for raster geospatial data formats (includes OGR support)" > HOMEPAGE="http://www.gdal.org/" >@@ -17,7 +17,9 @@ SRC_URI="http://download.osgeo.org/gdal/ > SLOT="0" > LICENSE="MIT" > KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" >-IUSE="armadillo +aux_xml curl debug doc ecwj2k fits geos gif gml hdf5 java jpeg jpeg2k mdb mysql netcdf odbc opencl ogdi pdf perl png postgres python ruby spatialite sqlite threads xls" >+IUSE="armadillo +aux_xml curl debug doc ecwj2k fits geos gif gml hdf5 java jpeg >+jpeg2k mdb mysql netcdf oci odbc opencl ogdi pdf perl png postgres python ruby >+spatialite sqlite threads xls" > > RDEPEND=" > dev-libs/expat >@@ -37,6 +39,7 @@ RDEPEND=" > jpeg2k? ( media-libs/jasper ) > mysql? ( virtual/mysql ) > netcdf? ( sci-libs/netcdf ) >+ oci? ( dev-db/oracle-instantclient-basic ) > odbc? ( dev-db/unixODBC ) > ogdi? ( sci-libs/ogdi ) > opencl? ( virtual/opencl ) >@@ -77,6 +80,17 @@ pkg_setup() { > python_set_active_version 2 > python_pkg_setup > fi >+ >+ if use oci; then >+ if [[ ! -e "${ROOT}${ORACLE_HOME}" ]] ; then >+ eerror "You have requested OCI (Oracle Call Interface) support" >+ eerror "In order to find the directory of OCI headers and libraries" >+ eerror "${P} needs the ORACLE_HOME variable to be set." >+ eerror "Please check your oracle-instantclient setup." >+ eerror "" >+ die "Variable ORACLE_HOME is not correctly set !" >+ fi >+ fi > } > > src_unpack() { >@@ -85,6 +99,12 @@ src_unpack() { > } > > src_prepare() { >+ >+ # oci support won't configure with --as-needed ldflag >+ if use oci; then >+ filter-ldflags -Wl,--as-needed >+ fi >+ > # fix datadir and docdir placement > sed -i \ > -e "s:@datadir@:@datadir@/gdal:" \ >@@ -173,7 +193,6 @@ src_configure() { > --without-msg \ > --without-bsb \ > --without-dods-root \ >- --without-oci \ > --without-ingres \ > --without-dwgdirect \ > --without-epsilon \ >@@ -200,6 +219,7 @@ src_configure() { > $(use_with jpeg2k jasper) \ > $(use_with ecwj2k ecw) \ > $(use_with gml xerces) \ >+ $(use_with oci oci ${ORACLE_HOME}) \ > $(use_with odbc) \ > $(use_with ogdi ogdi "${EPREFIX}"/usr) \ > $(use_with opencl) \
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 224205
:
154803
| 318696