Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 222383 Details for
Bug 177402
app-arch/unrar: unrar binary should link against the libunrar shared library
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Alternative one
unrar-3.9.9-shared_library.patch (text/plain), 1022 bytes, created by
Samuli Suominen (RETIRED)
on 2010-03-07 00:04:54 UTC
(
hide
)
Description:
Alternative one
Filename:
MIME Type:
Creator:
Samuli Suominen (RETIRED)
Created:
2010-03-07 00:04:54 UTC
Size:
1022 bytes
patch
obsolete
>--- unrar-3.9.9.ebuild >+++ unrar-3.9.9.ebuild >@@ -12,21 +12,48 @@ > LICENSE="unRAR" > SLOT="0" > KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" >-IUSE="" >+IUSE="lib" > > DEPEND="!app-arch/unrar-gpl" > > S=${WORKDIR}/unrar > >+src_unpack() { >+ unpack ${A} >+ if use lib; then >+ cp -dpR "${S}" "${WORKDIR}"/lib >+ sed -i \ >+ -e 's:$(LINK) -shared:$(LINK) -shared -Wl,-soname:' \ >+ "${WORKDIR}"/lib/makefile.unix || die >+ fi >+} >+ > src_compile() { > emake \ > -f makefile.unix \ > CXXFLAGS="${CXXFLAGS}" \ > CXX="$(tc-getCXX)" \ >- STRIP="true" || die "emake failed" >+ STRIP="true" || die >+ >+ if use lib; then >+ cd "${WORKDIR}"/lib >+ emake \ >+ -f makefile.unix \ >+ CPPFLAGS="-fPIC" \ >+ CXXFLAGS="${CXXFLAGS}" \ >+ CXX="$(tc-getCXX)" \ >+ STRIP="true" lib || die >+ fi > } > > src_install() { > dobin unrar || die > dodoc readme.txt >+ >+ if use lib; then >+ cd "${WORKDIR}"/lib >+ dolib.so libunrar.so || die >+ insinto /usr/include/libunrar3 >+ doins dll.hpp || die >+ fi > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 177402
:
222373
|
222383