pytrainer: unpin python 3.10
[NixPkgs.git] / pkgs / development / r-modules / patches / Rserve.patch
blob1ffe17e55420acbdb36e1904354a8980328d5594
1 diff -ru -x '*~' Rserve_orig/src/Makevars.in Rserve/src/Makevars.in
2 --- Rserve_orig/src/Makevars.in 2013-08-22 06:09:33.000000000 +0900
3 +++ Rserve/src/Makevars.in 2014-11-09 21:36:31.184590320 +0900
4 @@ -12,8 +12,9 @@
5 $(CC) -DSTANDALONE_RSERVE -DRSERV_DEBUG -DNODAEMON -I. -Iinclude $(ALL_CPPFLAGS) $(ALL_CFLAGS) $(PKG_CPPFLAGS) $(PKG_CFLAGS) -o Rserve.dbg $(SERVER_SRC) $(ALL_LIBS) $(PKG_LIBS)
7 # merging to bin/Rserve works only if installed from sources, won't work for binary
8 - -./mergefat Rserve "$(R_HOME)/bin/Rserve"
9 - -./mergefat Rserve.dbg "$(R_HOME)/bin/Rserve.dbg"
10 + mkdir $(out)/bin
11 + -./mergefat Rserve "$(out)/bin/Rserve"
12 + -./mergefat Rserve.dbg "$(out)/bin/Rserve.dbg"
14 client: config.h
15 cp config.h client/cxx/