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

(-)a/mnt/nfs_portage/sci-mathematics/petsc/petsc-3.11.3.ebuild (-7 / +7 lines)
Lines 53-59 DEPEND="${RDEPEND} Link Here
53
"
53
"
54
54
55
PATCHES=(
55
PATCHES=(
56
	"${FILESDIR}"/${PN}-3.7.0-disable-rpath.patch \
56
	"${FILESDIR}"/${PN}-3.7.0-disable-rpath.patch 
57
	"${FILESDIR}"/${PN}-3.9.0-fix_sandbox_violation.patch
57
	"${FILESDIR}"/${PN}-3.9.0-fix_sandbox_violation.patch
58
)
58
)
59
59
Lines 157-179 src_configure() { Link Here
157
		$(use_with hdf5) \
157
		$(use_with hdf5) \
158
		$(petsc_with hypre hypre \
158
		$(petsc_with hypre hypre \
159
			/usr/include/hypre -lHYPRE) \
159
			/usr/include/hypre -lHYPRE) \
160
		$(petsc_with sparse suitesparse) \
160
		$(use_with sparse suitesparse) \
161
		$(petsc_with superlu superlu \
161
		$(petsc_with superlu superlu \
162
			/usr/include/superlu -lsuperlu) \
162
			/usr/include/superlu -lsuperlu) \
163
		$(petsc_with X x) \
163
		$(use_with X x) \
164
		$(petsc_with X x11) \
164
		$(use_with X x11) \
165
		$(petsc_with scotch ptscotch \
165
		$(petsc_with scotch ptscotch \
166
			/usr/include/scotch \
166
			/usr/include/scotch \
167
		[-lptesmumps,-lptscotch,-lptscotcherr,-lscotch,-lscotcherr]) \
167
		[-lptesmumps,-lptscotch,-lptscotcherr,-lscotch,-lscotcherr]) \
168
		$(petsc_with mumps scalapack \
168
		$(petsc_with mumps scalapack \
169
			/usr/include/scalapack -lscalapack) \
169
			/usr/include/scalapack -lscalapack) \
170
		$(petsc_with mumps mumps \
170
		$(use_with mumps mumps \
171
			/usr/include \
171
			/usr/include \
172
			[-lcmumps,-ldmumps,-lsmumps,-lzmumps,-lmumps_common,-lpord]) \
172
			[-lcmumps,-ldmumps,-lsmumps,-lzmumps,-lmumps_common,-lpord]) \
173
		--with-imagemagick=0 \
173
		--with-imagemagick=0 \
174
		--with-python=0 \
174
		--with-python=0 \
175
		$(petsc_with boost) \
175
		$(use_with boost) \
176
		$(petsc_with fftw)
176
		$(use_with fftw)
177
}
177
}
178
178
179
src_install() {
179
src_install() {

Return to bug 691934