Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Nov 2016 11:59:31 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r425889 - head/math/rpy2
Message-ID:  <201611111159.uABBxVBI096503@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Fri Nov 11 11:59:31 2016
New Revision: 425889
URL: https://svnweb.freebsd.org/changeset/ports/425889

Log:
  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

Modified:
  head/math/rpy2/Makefile   (contents, props changed)

Modified: head/math/rpy2/Makefile
==============================================================================
--- head/math/rpy2/Makefile	Fri Nov 11 11:59:16 2016	(r425888)
+++ head/math/rpy2/Makefile	Fri Nov 11 11:59:31 2016	(r425889)
@@ -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 \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201611111159.uABBxVBI096503>