Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 188889 Details for
Bug 266637
sci-misc/boinc: init script doesn't respect location of amd64 cuda files
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
boinc-respect-amd64-cuda-libdir.patch
boinc-respect-amd64-cuda-libdir.patch (text/plain), 1.38 KB, created by
Lars Wendler (Polynomial-C) (RETIRED)
on 2009-04-19 16:06:00 UTC
(
hide
)
Description:
boinc-respect-amd64-cuda-libdir.patch
Filename:
MIME Type:
Creator:
Lars Wendler (Polynomial-C) (RETIRED)
Created:
2009-04-19 16:06:00 UTC
Size:
1.38 KB
patch
obsolete
>diff -ur /usr/portage/sci-misc/boinc/boinc-6.4.5-r1.ebuild /usr/local/my-portage-experimental/sci-misc/boinc/boinc-6.4.5-r1.ebuild >--- /usr/portage/sci-misc/boinc/boinc-6.4.5-r1.ebuild >+++ /usr/local/my-portage-experimental/sci-misc/boinc/boinc-6.4.5-r1.ebuild >@@ -8,7 +8,7 @@ > > EAPI="2" > >-inherit flag-o-matic depend.apache eutils wxwidgets >+inherit flag-o-matic depend.apache eutils wxwidgets multilib > > DESCRIPTION="The Berkeley Open Infrastructure for Network Computing" > HOMEPAGE="http://boinc.ssl.berkeley.edu/" >@@ -102,7 +102,7 @@ > } > > src_compile() { >- # disable paralel build. >+ # disable parallel build. > emake -j1 || die "emake failed" > } > >@@ -123,6 +123,8 @@ > > newinitd "${FILESDIR}"/${PN}.init ${PN} > newconfd "${FILESDIR}"/${PN}.conf ${PN} >+ dosed "s:%%LIBDIR%%:$(get_libdir):g" /etc/init.d/${PN} \ >+ || die "dosed failed" > } > > pkg_setup() { >diff -ur /usr/portage/sci-misc/boinc/files/boinc.init /usr/local/my-portage-experimental/sci-misc/boinc/files/boinc.init >--- /usr/portage/sci-misc/boinc/files/boinc.init >+++ /usr/local/my-portage-experimental/sci-misc/boinc/files/boinc.init >@@ -30,9 +30,9 @@ > } > > cuda_check() { >- if [[ -f /opt/cuda/lib/libcudart.so ]]; then >+ if [[ -f /opt/cuda/%%LIBDIR%%/libcudart.so ]]; then > # symlink wont harm :] >- ln -snf /opt/cuda/lib/libcudart.so $RUNTIMEDIR/libcudart.so >+ ln -snf /opt/cuda/%%LIBDIR%%/libcudart.so $RUNTIMEDIR/libcudart.so > 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 266637
: 188889