aboutsummaryrefslogtreecommitdiff
path: root/math/rpy2
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2007-06-13 15:03:43 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2007-06-13 15:03:43 +0000
commit935fc1458e5855fff18af963905f43c0201d416e (patch)
treef4369b56972c15028a1a9f558fd84dfdfebf3927 /math/rpy2
parent1411829a6141f2bd6bdaef561a42ab4b39d5f6ae (diff)
downloadports-935fc1458e5855fff18af963905f43c0201d416e.tar.gz
ports-935fc1458e5855fff18af963905f43c0201d416e.zip
Try to fix the build with contemporary GCC.
Reported by: pointyhat
Notes
Notes: svn path=/head/; revision=193397
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>