Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 266637
Collapse All | Expand All

(-)/usr/portage/sci-misc/boinc/boinc-6.4.5-r1.ebuild (-2 / +4 lines)
Lines 8-14 Link Here
8
8
9
EAPI="2"
9
EAPI="2"
10
10
11
inherit flag-o-matic depend.apache eutils wxwidgets
11
inherit flag-o-matic depend.apache eutils wxwidgets multilib
12
12
13
DESCRIPTION="The Berkeley Open Infrastructure for Network Computing"
13
DESCRIPTION="The Berkeley Open Infrastructure for Network Computing"
14
HOMEPAGE="http://boinc.ssl.berkeley.edu/"
14
HOMEPAGE="http://boinc.ssl.berkeley.edu/"
Lines 102-108 Link Here
102
}
102
}
103
103
104
src_compile() {
104
src_compile() {
105
	# disable paralel build.
105
	# disable parallel build.
106
	emake -j1 || die "emake failed"
106
	emake -j1 || die "emake failed"
107
}
107
}
108
108
Lines 123-128 Link Here
123
123
124
	newinitd "${FILESDIR}"/${PN}.init ${PN}
124
	newinitd "${FILESDIR}"/${PN}.init ${PN}
125
	newconfd "${FILESDIR}"/${PN}.conf ${PN}
125
	newconfd "${FILESDIR}"/${PN}.conf ${PN}
126
	dosed "s:%%LIBDIR%%:$(get_libdir):g" /etc/init.d/${PN} \
127
		|| die "dosed failed"
126
}
128
}
127
129
128
pkg_setup() {
130
pkg_setup() {
(-)/usr/portage/sci-misc/boinc/files/boinc.init (-2 / +2 lines)
Lines 30-38 Link Here
30
}
30
}
31
31
32
cuda_check() {
32
cuda_check() {
33
	if [[ -f /opt/cuda/lib/libcudart.so ]]; then
33
	if [[ -f /opt/cuda/%%LIBDIR%%/libcudart.so ]]; then
34
		# symlink wont harm :]
34
		# symlink wont harm :]
35
		ln -snf /opt/cuda/lib/libcudart.so $RUNTIMEDIR/libcudart.so
35
		ln -snf /opt/cuda/%%LIBDIR%%/libcudart.so $RUNTIMEDIR/libcudart.so
36
	fi
36
	fi
37
}
37
}
38
38

Return to bug 266637