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

Bug 267000

Summary: java-vm-2.eclass: set_java_env should allow @lib@
Product: Gentoo Linux Reporter: Harald van Dijk (RETIRED) <truedfx>
Component: EclassesAssignee: Java team <java>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Harald van Dijk (RETIRED) gentoo-dev 2009-04-21 17:27:36 UTC
Hi,

set_java_env installs env files containing lib paths. It should be possible for these paths to reference $(get_libdir), and this should be used at least by the icedtea6 ebuild (in java-overlay), possibly others. icedtea6 installs into /usr/$(get_libdir)/icedtea6, not /usr/lib/icedtea6 (nor should it), and it would be nice if it referred to that instead of relying on any /usr/lib symlink unnecessarily. Could you add -e "s/@lib@/$(get_libdir)/g" to the sed list in the eclass, and do a s|/usr/lib|/usr/@lib@| on icedtea6.env (and any other appropriate files you come across)?
Comment 1 Ralph Sennhauser (RETIRED) gentoo-dev 2011-10-25 13:27:53 UTC
Was added as @LIBDIR@ a while back: http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/eclass/java-vm-2.eclass?r1=1.29&r2=1.30