summaryrefslogtreecommitdiff
path: root/math/R/patches/patch-ad
diff options
context:
space:
mode:
Diffstat (limited to 'math/R/patches/patch-ad')
-rw-r--r--math/R/patches/patch-ad13
1 files changed, 13 insertions, 0 deletions
diff --git a/math/R/patches/patch-ad b/math/R/patches/patch-ad
new file mode 100644
index 00000000000..5ef649acef2
--- /dev/null
+++ b/math/R/patches/patch-ad
@@ -0,0 +1,13 @@
+$NetBSD: patch-ad,v 1.8 2004/11/24 10:14:10 markd Exp $
+
+--- src/main/Makefile.in.orig 2004-11-16 01:31:44.000000000 +1300
++++ src/main/Makefile.in
+@@ -144,7 +144,7 @@ R: Makefile
+
+ $(R_binary): $(R_bin_OBJECTS) $(R_bin_DEPENDENCIES)
+ @WANT_R_SHLIB_FALSE@ $(MAIN_LINK) -o $@ $(R_bin_LDFLAGS) $(R_bin_OBJECTS) $(R_bin_LDADD) $(LIBS)
+-@WANT_R_SHLIB_TRUE@ $(MAIN_LINK) -o $@ $(R_bin_LDFLAGS) $(R_bin_OBJECTS) -L../../lib -lR
++@WANT_R_SHLIB_TRUE@ $(MAIN_LINK) -o $@ $(R_bin_LDFLAGS) $(R_bin_OBJECTS) -L../../lib ${COMPILER_RPATH_FLAG}$(Rexeclibdir) -lR
+
+ install-bin-local: $(R_binary)
+ @$(MAKE) rhome="$(abs_top_builddir)" install-bin