File: rhdf

package info (click to toggle)
r-bioc-alabaster.base 1.6.1%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 1,652 kB
  • sloc: cpp: 11,377; sh: 29; makefile: 2
file content (13 lines) | stat: -rw-r--r-- 594 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
Author: Nilesh Patra <nilesh@debian.org>
Description: Hack to fix RHdf5lib flags
Forwarded: not-needed

--- a/src/Makevars
+++ b/src/Makevars
@@ -1,3 +1,3 @@
-RHDF5_LIBS=$(shell "${R_HOME}/bin${R_ARCH_BIN}/Rscript" -e 'Rhdf5lib::pkgconfig("PKG_CXX_LIBS")') 
-PKG_CPPFLAGS=-I../inst/include
-PKG_LIBS=$(RHDF5_LIBS) -lz
+RHDF5_LIBS=/usr/lib/R/site-library/Rhdf5lib/libs/Rhdf5lib.so -L/usr/lib/$(shell dpkg-architecture -qDEB_HOST_MULTIARCH)/hdf5/serial -lhdf5 -lhdf5_cpp -lcrypto -lcurl -lpthread -lsz
+PKG_CPPFLAGS=-I../inst/include -I/usr/include/hdf5/serial/
+PKG_LIBS=-fPIC $(RHDF5_LIBS) -lz