Сравнение med-4.1.1-r1 с med-4.1.1-r3
/usr/portage/sci-libs/med/med-4.1.1-r3.ebuild 2023-10-09 14:52:35.088368491 +0300 | ||
---|---|---|
24 | 24 |
RDEPEND=" |
25 | 25 |
!sci-libs/libmed |
26 | 26 |
dev-lang/tk:0= |
27 |
<sci-libs/hdf5-1.14.0:=[fortran?,mpi(+)?] |
|
27 |
>=sci-libs/hdf5-1.10.2:=[fortran?,mpi(+)?] |
|
28 | 28 |
mpi? ( virtual/mpi[fortran?] ) |
29 | 29 |
python? ( ${PYTHON_DEPS} ) |
30 | 30 |
" |
... | ... | |
34 | 34 |
PATCHES=( |
35 | 35 |
"${FILESDIR}/${PN}-4.1.0-0001-Gentoo-specific-Adjust-install-path-for-build-dir.patch" |
36 | 36 |
"${FILESDIR}/${PN}-4.1.0-0002-Re-add-option-for-building-Fortran-library.patch" |
37 |
"${FILESDIR}/${PN}-4.1.0-0003-build-against-hdf5-1.12.patch" |
|
37 |
"${FILESDIR}/${PN}-4.1.0-0003-build-against-hdf5-1.14.patch" |
|
38 | 38 |
) |
39 | 39 | |
40 | 40 |
DOCS=( AUTHORS ChangeLog NEWS README README.CMAKE TODO ) |
... | ... | |
53 | 53 |
-e 's@SET(_install_dir lib/python${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}/site-packages/med)@SET(_install_dir '${pysite}'/med)@' \ |
54 | 54 |
-i ./python/CMakeLists.txt || die "sed on ./python/CMakeLists.txt failed" |
55 | 55 |
fi |
56 |
for cm in ./src/CMakeLists.txt ./tools/medimport/CMakeLists.txt |
|
57 |
do |
|
58 |
sed -i -e "s@INSTALL(TARGETS \(.*\) DESTINATION lib)@INSTALL(TARGETS \1 DESTINATION $(get_libdir))@" \ |
|
59 |
"${cm}" || die "sed on ${cm} failed" |
|
60 |
done |
|
61 | 56 |
sed -e 's/med-fichier/med/' -i CMakeLists.txt || die "fix paths failed" |
62 |
sed -e 's|doc/med-${MED_STR_VERSION}|doc/med-${MED_STR_VERSION}/html|' \ |
|
57 |
sed -e 's|doc/med-${MED_STR_VERSION}|doc/'${PF}'/html|' \ |
|
63 | 58 |
-i CMakeLists.txt || die "fix doc path failed" |
64 | 59 | |
65 | 60 |
# bug #862900, already reported upstream. CHECK on updates! |