summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2016-11-11 11:59:31 +0000
committerJan Beich <jbeich@FreeBSD.org>2016-11-11 11:59:31 +0000
commite0ad301ffd7316129f28f9cb1d47b374bf2f8daf (patch)
tree3ba474887dbe7b68acd3a7441a9cd37985626a24 /math
parenttextproc/liblrdf: drop unused dependencies (diff)
math/rpy2: stop linking against math/R depends
While here, switch back to Clang build but keep RPATH which is a quirk to avoid loading /usr/lib/libgcc_s.so during dlopen() race. PR: 214384
Notes
Notes: svn path=/head/; revision=425889
Diffstat (limited to 'math')
-rw-r--r--math/rpy2/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/math/rpy2/Makefile b/math/rpy2/Makefile
index 4609945a88d4..9187a6958776 100644
--- a/math/rpy2/Makefile
+++ b/math/rpy2/Makefile
@@ -3,7 +3,7 @@
PORTNAME= rpy2
PORTVERSION= 2.7.8
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= math
MASTER_SITES= CHEESESHOP
@@ -17,9 +17,9 @@ BUILD_DEPENDS= ${PYNUMPY} \
RUN_DEPENDS= ${PYNUMPY} \
R:math/R
-USES= python readline
-USE_GCC= yes
+USES= fortran python readline
USE_PYTHON= distutils autoplist
+LDFLAGS+= -Wl,--as-needed
pre-configure:
@(if [ ! -e ${LOCALBASE}/lib/R/lib/libR.so ] ; then \