Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 49376 Details for
Bug 75415
dev-libs/hdf4.2.0-r3 needs -fPIC on amd64
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch against hdf-4.2.0-r3.ebuild to enable above patch + a little cleanup (e.g. fortan.eclass)
hdf-4.2.0-r3.ebuild.patch (text/plain), 1.34 KB, created by
Danny van Dyk (RETIRED)
on 2005-01-24 07:51:32 UTC
(
hide
)
Description:
Patch against hdf-4.2.0-r3.ebuild to enable above patch + a little cleanup (e.g. fortan.eclass)
Filename:
MIME Type:
Creator:
Danny van Dyk (RETIRED)
Created:
2005-01-24 07:51:32 UTC
Size:
1.34 KB
patch
obsolete
>Index: hdf-4.2.0-r3.ebuild >=================================================================== >RCS file: /var/cvsroot/gentoo-x86/sci-libs/hdf/hdf-4.2.0-r3.ebuild,v >retrieving revision 1.2 >diff -u -b -B -r1.2 hdf-4.2.0-r3.ebuild >--- hdf-4.2.0-r3.ebuild 29 Dec 2004 00:31:18 -0000 1.2 >+++ hdf-4.2.0-r3.ebuild 24 Jan 2005 15:47:15 -0000 >@@ -2,7 +2,7 @@ > # Distributed under the terms of the GNU General Public License v2 > # $Header: /var/cvsroot/gentoo-x86/sci-libs/hdf/hdf-4.2.0-r3.ebuild,v 1.2 2004/12/29 00:31:18 ribosome Exp $ > >-inherit flag-o-matic >+inherit flag-o-matic fortran > > # substitute second dot by "r" > MY_PV=${PV/./X} >@@ -26,17 +26,27 @@ > >=sys-apps/sed-4 > szip? ( sci-libs/szip )" > >-pkg_setup() { >- if ! which &>/dev/null g77; then >- die "g77 not found, please re-emerge gcc with f77 in your USE flags." >- fi >+src_unpack() { >+ unpack ${A} >+ cd ${S} >+ epatch ${FILESDIR}/${P}-shared-libs.patch > } > > src_compile() { >+ # To use libtool for shared libs, we need above patch and the following lines. >+ # Danny van Dyk <kugelfang@gentoo.org> 2005/01/24 >+ aclocal >+ libtoolize --copy --force >+ automake --add-missing >+ autoconf >+ > local myconf="--enable-production" >+ > use szip && myconf="${myconf} --with-szlib=/usr" > use ppc && append-flags -DSUN >+ > econf ${myconf} || die "configure failed" >+ > make LDFLAGS="${LDFLAGS} -lm" || die "make failed" > } >
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 75415
:
49375
|
49376
|
49475
|
49478