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

Bug 124656

Summary: libpng ebuild hard-codes library paths with sed
Product: Gentoo Linux Reporter: Raphael Burnes <rburnes>
Component: New packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: 2005.1   
Hardware: ARM   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Raphael Burnes 2006-03-02 08:35:01 UTC
The libpng ebuild causes cross compiling for ARM to fail, because it hard codes 
several library directories with sed in the ebuild, which in turn don't respect my ROOT env variable.

sed \
    -e "/^ZLIBLIB=/s:=.*:=/usr/$(get_libdir):" \
    -e '/^ZLIBINC=/s:=.*:=/usr/include:' \
    -e "/^LIBPATH=/s:/lib:/$(get_libdir):" \


this causes my cross compilation to fail because it trys to always use /usr/include and /usr/lib, /lib
Comment 1 SpanKY gentoo-dev 2006-03-02 11:42:50 UTC
you're using 1.2.8

ive fixed this already in 1.2.8-r1