aboutsummaryrefslogtreecommitdiffstats
path: root/math/rpy2
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2007-06-13 23:03:43 +0800
committerdanfe <danfe@FreeBSD.org>2007-06-13 23:03:43 +0800
commit5d35c41e00ab037591eb326fb8c705b898ec17bb (patch)
tree12d67c76bf9555c2d5cb408cbf4e02c387eb3251 /math/rpy2
parent9a511e7389843f9dec7a4e2d7561e2745bb27a7b (diff)
downloadfreebsd-ports-gnome-5d35c41e00ab037591eb326fb8c705b898ec17bb.tar.gz
freebsd-ports-gnome-5d35c41e00ab037591eb326fb8c705b898ec17bb.tar.zst
freebsd-ports-gnome-5d35c41e00ab037591eb326fb8c705b898ec17bb.zip
Try to fix the build with contemporary GCC.
Reported by: pointyhat
Diffstat (limited to 'math/rpy2')
-rw-r--r--math/rpy2/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/math/rpy2/Makefile b/math/rpy2/Makefile
index 420e59f28fd8..9eec83745a2c 100644
--- a/math/rpy2/Makefile
+++ b/math/rpy2/Makefile
@@ -24,4 +24,7 @@ USE_PYTHON= yes
USE_PYDISTUTILS= yes
MAKE_ENV= LDFLAGS="-L${LOCALBASE}/lib/R/modules -L${LOCALBASE}/lib/R/lib"
+post-patch:
+ @${REINPLACE_CMD} -e 's,^statichere ,,' ${WRKSRC}/src/rpymodule.c
+
.include <bsd.port.mk>