diff options
author | danfe <danfe@FreeBSD.org> | 2007-06-13 23:03:43 +0800 |
---|---|---|
committer | danfe <danfe@FreeBSD.org> | 2007-06-13 23:03:43 +0800 |
commit | 5d35c41e00ab037591eb326fb8c705b898ec17bb (patch) | |
tree | 12d67c76bf9555c2d5cb408cbf4e02c387eb3251 /math | |
parent | 9a511e7389843f9dec7a4e2d7561e2745bb27a7b (diff) | |
download | freebsd-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')
-rw-r--r-- | math/rpy/Makefile | 3 | ||||
-rw-r--r-- | math/rpy2/Makefile | 3 |
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> |