summaryrefslogtreecommitdiff
path: root/math/R
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2014-11-29 22:04:51 +0000
committerjoerg <joerg@pkgsrc.org>2014-11-29 22:04:51 +0000
commit92d5b8f2f7f75f1e7f8b102d0f1d34700ea27bea (patch)
tree09e189b2a019aeec58a3bfa3a2d0ca7e5110afe2 /math/R
parent148b0562a05bbc6b14dacf67b42cb04437ecddad (diff)
downloadpkgsrc-92d5b8f2f7f75f1e7f8b102d0f1d34700ea27bea.tar.gz
Don't pass -I without argument to the compiler.
Diffstat (limited to 'math/R')
-rw-r--r--math/R/distinfo3
-rw-r--r--math/R/patches/patch-src_library_stats_src_Makefile.in14
2 files changed, 16 insertions, 1 deletions
diff --git a/math/R/distinfo b/math/R/distinfo
index 272e8b889fe..082af237918 100644
--- a/math/R/distinfo
+++ b/math/R/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.61 2014/07/24 21:33:03 markd Exp $
+$NetBSD: distinfo,v 1.62 2014/11/29 22:04:51 joerg Exp $
SHA1 (R-3.1.1.tar.gz) = e974ecc92e49266529e8e791e02a80c75e50b696
RMD160 (R-3.1.1.tar.gz) = 72e5d7a9ec4dc9c960321e7fc8d939cb59d63c31
Size (R-3.1.1.tar.gz) = 28606569 bytes
SHA1 (patch-ac) = 9c6de78be36766ceefa8aafa8a7b5d5af3f83cac
SHA1 (patch-ad) = b40536fac079e2cc348a020fafac687f2f8b1dfe
+SHA1 (patch-src_library_stats_src_Makefile.in) = b468becd011fa4828e50f5d13d700825655c89e8
diff --git a/math/R/patches/patch-src_library_stats_src_Makefile.in b/math/R/patches/patch-src_library_stats_src_Makefile.in
new file mode 100644
index 00000000000..697237c365d
--- /dev/null
+++ b/math/R/patches/patch-src_library_stats_src_Makefile.in
@@ -0,0 +1,14 @@
+$NetBSD: patch-src_library_stats_src_Makefile.in,v 1.1 2014/11/29 22:04:51 joerg Exp $
+
+${R_INCLUDE_DIR} is used in the default compiler flags.
+
+--- src/library/stats/src/Makefile.in.orig 2014-11-29 20:35:23.000000000 +0000
++++ src/library/stats/src/Makefile.in
+@@ -10,6 +10,7 @@ top_srcdir = @top_srcdir@
+ top_builddir = ../../../..
+ subdir = src/library/$(pkg)/src
+ R_HOME = $(top_builddir)
++R_INCLUDE_DIR = $(R_HOME)/include
+ ## for $(R_HOME)/etc${R_ARCH}/Makeconf
+ R_SHARE_DIR = $(R_HOME)/share
+