File: use_debian_packaged_libhdf5.patch

package info (click to toggle)
r-bioc-dropletutils 1.18.1%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 808 kB
  • sloc: cpp: 681; sh: 4; makefile: 2
file content (14 lines) | stat: -rw-r--r-- 503 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Author: Andreas Tille <tille@debian.org>
Last-Update: Wed, 09 Sep 2020 15:28:06 +0200
Description: Use Debian packaged libhdf5
Forwarded: No

--- a/src/Makevars
+++ b/src/Makevars
@@ -1,3 +1,3 @@
-RHDF5LIB_LIBS =$(shell echo 'Rhdf5lib::pkgconfig("PKG_CXX_LIBS")'|\
-    "${R_HOME}/bin/R" --vanilla --slave)
-PKG_LIBS=$(RHDF5LIB_LIBS)
+HDF5_LIB="/usr/lib/`dpkg-architecture -qDEB_HOST_MULTIARCH`/hdf5/serial/"
+PKG_LIBS=/usr/lib/R/site-library/Rhdf5lib/libs/Rhdf5lib.so -L$(HDF5_LIB) -lhdf5 -lhdf5_cpp
+