From 99adf2cb8b82af8b05bb0053e5c5148f69488845 Mon Sep 17 00:00:00 2001
From: Ray Donnelly <mingw.android@gmail.com>
Date: Fri, 24 Mar 2017 07:23:49 -0500
Subject: [PATCH 2/5] Fix R-package PKGROOT

It pointed to the wrong directory on Windows and had a
trailing / on all systems leading to double /
---
 R-package/src/Makevars.in  | 2 +-
 R-package/src/Makevars.win | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/R-package/src/Makevars.in b/R-package/src/Makevars.in
index 076ad720..2019dff6 100644
--- a/R-package/src/Makevars.in
+++ b/R-package/src/Makevars.in
@@ -1,5 +1,5 @@
 # package root
-PKGROOT=../../
+PKGROOT=../..
 ENABLE_STD_THREAD=1
 # _*_ mode: Makefile; _*_
 
diff --git a/R-package/src/Makevars.win b/R-package/src/Makevars.win
index 2e241164..31416b40 100644
--- a/R-package/src/Makevars.win
+++ b/R-package/src/Makevars.win
@@ -1,5 +1,5 @@
 # package root
-PKGROOT=./
+PKGROOT=../..
 ENABLE_STD_THREAD=0
 # _*_ mode: Makefile; _*_
 
-- 
2.17.1

