Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 124656 - libpng ebuild hard-codes library paths with sed
Summary: libpng ebuild hard-codes library paths with sed
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: ARM Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-02 08:35 UTC by Raphael Burnes
Modified: 2006-03-02 11:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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