summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-lang/R/files/R-2.4.1-as-needed-gentoo.patch')
-rw-r--r--dev-lang/R/files/R-2.4.1-as-needed-gentoo.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/dev-lang/R/files/R-2.4.1-as-needed-gentoo.patch b/dev-lang/R/files/R-2.4.1-as-needed-gentoo.patch
new file mode 100644
index 000000000000..bfb539624817
--- /dev/null
+++ b/dev-lang/R/files/R-2.4.1-as-needed-gentoo.patch
@@ -0,0 +1,12 @@
+diff -Naur R-2.4.1/src/modules/lapack/Makefile.in R-2.4.1-new/src/modules/lapack/Makefile.in
+--- R-2.4.1/src/modules/lapack/Makefile.in 2006-09-04 10:41:35.000000000 -0400
++++ R-2.4.1-new/src/modules/lapack/Makefile.in 2006-12-18 21:14:05.000000000 -0500
+@@ -78,7 +78,7 @@
+ ## Include BLAS here, as with (static) ATLAS that pulls all the
+ ## BLAS routines into one place.
+ $(Rlapack_la): $(LIBOBJECTS)
+- $(DYLIB_LINK) -o $@ $(LIBOBJECTS) @BLAS_LIBS@ $(Rlapack_la_LIBADD)
++ $(DYLIB_LINK) -o $@ $(LIBOBJECTS) @BLAS_LIBS@ $(Rlapack_la_LIBADD) $(FLIBS)
+
+ Rlapack_install: $(Rlapack_la)
+ @$(MKINSTALLDIRS) $(Rexeclibdir)