summaryrefslogtreecommitdiff
path: root/math
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
parent* Upgrade devel/google-sparsehash from 0.4 to 0.5 (diff)
Try to fix the build with contemporary GCC.
Reported by: pointyhat
Notes
Notes: svn path=/head/; revision=193397
Diffstat (limited to 'math')
-rw-r--r--math/rpy/Makefile3
-rw-r--r--math/rpy2/Makefile3
2 files changed, 6 insertions, 0 deletions
diff --git a/math/rpy/Makefile b/math/rpy/Makefile
index 420e59f28fd8..9eec83745a2c 100644
--- a/math/rpy/Makefile
+++ b/math/rpy/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>
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>