Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 133368 Details for
Bug 195759
Patch to GDAL to make it work with the prefixed portage
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to the gdal 1.4.2 ebuild to make it work with prefixed portage.
gdal-1.4.2.ebuild.patch (text/plain), 1.68 KB, created by
Dirk Tilger
on 2007-10-13 20:40:50 UTC
(
hide
)
Description:
Patch to the gdal 1.4.2 ebuild to make it work with prefixed portage.
Filename:
MIME Type:
Creator:
Dirk Tilger
Created:
2007-10-13 20:40:50 UTC
Size:
1.68 KB
patch
obsolete
>--- /Volumes/localhorst/usr/portage/sci-libs/gdal/gdal-1.4.2.ebuild 2007-07-04 00:12:55 +0400 >+++ sci-libs/gdal/gdal-1.4.2.ebuild 2007-10-12 20:46:45 +0400 >@@ -2,6 +2,8 @@ > # Distributed under the terms of the GNU General Public License v2 > # $Header: /var/cvsroot/gentoo-x86/sci-libs/gdal/gdal-1.4.2.ebuild,v 1.1 2007/07/03 20:12:55 nerdboy Exp $ > >+EAPI="prefix" >+ > inherit eutils libtool distutils toolchain-funcs > > IUSE="jpeg png geos gif jpeg2k netcdf hdf hdf5 python ruby postgres \ >@@ -13,7 +15,7 @@ > > SLOT="0" > LICENSE="MIT" >-KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" >+KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-macos" > # need to get these arches updated on several libs first > #KEYWORDS="~alpha ~hppa" > >@@ -76,11 +78,11 @@ > > # It can't find this > if useq ogdi ; then >- use_conf="--with-ogdi=/usr/$(get_libdir) ${use_conf}" >+ use_conf="--with-ogdi=$EPREFIX/usr/$(get_libdir) ${use_conf}" > fi > > if useq mysql ; then >- use_conf="--with-mysql=/usr/bin/mysql_config ${use_conf}" >+ use_conf="--with-mysql=$EPREFIX/usr/bin/mysql_config ${use_conf}" > fi > > if useq gif ; then >@@ -94,14 +96,14 @@ > fi > > if useq python ; then >- use_conf="--with-pymoddir=/usr/$(get_libdir)/python${PYVER}/site-packages \ >+ use_conf="--with-pymoddir=$EPREFIX/usr/$(get_libdir)/python${PYVER}/site-packages \ > ${use_conf}" > else > use_conf="--with-python=no ${use_conf}" > fi > > # Fix doc path just in case >- sed -i -e "s:@exec_prefix@/doc:/usr/share/doc/${PF}/html:g" GDALmake.opt.in >+ sed -i -e "s:@exec_prefix@/doc:$EPREFIX/usr/share/doc/${PF}/html:g" GDALmake.opt.in > > econf ${pkg_conf} ${use_conf} || die "econf failed" > # parallel makes fail on the ogr stuff (C++, what can I say?)
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 195759
:
133368
|
134898