diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2002-03-31 02:27:33 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2002-03-31 02:27:33 +0000 |
commit | 009803615e9d0762ada7664bd100f30d0b00bd0a (patch) | |
tree | 1b2faa07230ea8ec5a6e05799a035e6b54529f28 /math/femlab/Makefile | |
parent | Add missing LIB_DEPENDS on libmikmod. (diff) |
Don't try and #include <malloc.h>
Notes
Notes:
svn path=/head/; revision=56999
Diffstat (limited to 'math/femlab/Makefile')
-rw-r--r-- | math/femlab/Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/math/femlab/Makefile b/math/femlab/Makefile index 65cd34167c5c..a159f8085c10 100644 --- a/math/femlab/Makefile +++ b/math/femlab/Makefile @@ -20,6 +20,13 @@ USE_X_PREFIX= yes FEMLAB_HOME= ${PREFIX}/lib/X11/femlab +pre-patch: + @${PERL} -pi -e 's,<malloc.h>,<stdlib.h>,' \ + ${WRKSRC}/source/graph.c ${WRKSRC}/source/y.tab.c \ + ${WRKSRC}/source/newdata.c ${WRKSRC}/source/post.c \ + ${WRKSRC}/source/kraftwerk.c ${WRKSRC}/source/list.c \ + ${WRKSRC}/include/xv.h ${WRKSRC}/fsource/y.tab.c + do-install: ${MKDIR} ${FEMLAB_HOME}/bin ${INSTALL_PROGRAM} ${WRKSRC}/source/femlab ${FEMLAB_HOME}/bin |