Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 210041 - nspr-4.7 should be preserving its libs
Summary: nspr-4.7 should be preserving its libs
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-13 19:40 UTC by SpanKY
Modified: 2008-02-14 11:11 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 SpanKY gentoo-dev 2008-02-13 19:40:29 UTC
please add the following code to the nspr-4.7 ebuild:

pkg_preinst() {
    preserve_old_lib /usr/$(get_libdir)/nspr/lib{nspr,plc,plds}4.so.7
}

pkg_postinst() {
    preserve_old_lib_notify /usr/$(get_libdir)/nspr/lib{nspr,plc,plds}4.so.7
}
Comment 1 SpanKY gentoo-dev 2008-02-13 19:40:40 UTC
err, that should be .so.6, not .so.7
Comment 2 Raúl Porcel (RETIRED) gentoo-dev 2008-02-14 11:11:10 UTC
Added, thanks.