pkgsrc/textproc/R-readr/patches/patch-src_Makevars

13 lines
427 B
Text

$NetBSD: patch-src_Makevars,v 1.1 2019/12/18 12:42:04 joerg Exp $
--- src/Makevars.orig 2019-12-10 22:19:51.276819189 +0000
+++ src/Makevars
@@ -6,7 +6,7 @@ else
RPATH = '../../rcon$(R_ARCH)'
endif
-PKG_LIBS = -L. -lrcon -L$(RCON_DIR) -Wl,-rpath,'$$ORIGIN/$(RPATH)'
+PKG_LIBS = -L. -lrcon -L$(RCON_DIR) -Wl,-rpath,${PREFIX}/lib/R/library/readr/rcon
PKG_CXXFLAGS = -I. -Ircon
LIBRCON = ../inst/rcon$(R_ARCH)/librcon.so