Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 226391

Summary: libperl-5.8.8-lib64.patch applied conditionally with no effect
Product: Gentoo Linux Reporter: Fabian Groffen <grobian>
Component: New packagesAssignee: Gentoo Perl team <perl>
Status: RESOLVED WONTFIX    
Severity: normal CC: grobian
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Fabian Groffen gentoo-dev 2008-06-13 18:52:00 UTC
from the ebuild:
    use amd64 || use ppc64 && cd "${S}" && epatch "${T}"/${P}-lib64.patch

from the patch:
+: determine libdir name
+: Should be */lib64 on x86-64, sparc64, ppc64
+case `arch` in
+  x86_64) lib='lib64';;
+  *) lib='lib';;
+esac

A few problems with this:
- a conditional patch, while the patch works fine for all cases (in gentoo-x86)
- conditionals are amd64 and ppc64, but for the latter the patch doesn't work
- patch should recognise powerpc64, sparc64...
Comment 1 Torsten Veller (RETIRED) gentoo-dev 2011-01-23 15:55:03 UTC
The patch was modified after this report was filed. Current ebuilds don't use it.

Can we close this or do we have to fix something?
Comment 2 Fabian Groffen gentoo-dev 2011-01-23 20:28:16 UTC
I think not, let's close this bug