diff options
author | kris <kris@FreeBSD.org> | 2002-01-26 16:43:58 +0800 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2002-01-26 16:43:58 +0800 |
commit | 4fbcf3c7719395bef30644f73a4a672798abdcbb (patch) | |
tree | 41945bb845889b3ea016e73d6510aeddbe4499a9 /science/felt | |
parent | e7cd6e62b9e6b4c3a0dde3ffb5a39bfe516061d0 (diff) | |
download | freebsd-ports-gnome-4fbcf3c7719395bef30644f73a4a672798abdcbb.tar.gz freebsd-ports-gnome-4fbcf3c7719395bef30644f73a4a672798abdcbb.tar.zst freebsd-ports-gnome-4fbcf3c7719395bef30644f73a4a672798abdcbb.zip |
Fix build on -current
Diffstat (limited to 'science/felt')
-rw-r--r-- | science/felt/Makefile | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/science/felt/Makefile b/science/felt/Makefile index 210feec569af..2f0fe27d9667 100644 --- a/science/felt/Makefile +++ b/science/felt/Makefile @@ -26,6 +26,18 @@ MAN1= burlap.1 corduroy.1 felt.1 patchwork.1 velvet.1 yardstick.1 MAN3= Drawing.3 MAN4= corduroy.4 felt.4 +post-patch: + @${PERL} -pi -e 's,<malloc.h>,<stdlib.h>, ; s,"malloc.h",<stdlib.h>,' \ + ${WRKSRC}/lib/Felt/parser.c ${WRKSRC}/lib/Felt/parser.c \ + ${WRKSRC}/lib/Widgets/xwd.c ${WRKSRC}/lib/Matrix/data.c \ + ${WRKSRC}/lib/Matrix/factor.c ${WRKSRC}/lib/Matrix/eigen.c \ + ${WRKSRC}/lib/Matrix/c_data.c ${WRKSRC}/lib/Matrix/c_factor.c \ + ${WRKSRC}/include/allocate.h ${WRKSRC}/src/Velvet/error.c \ + ${WRKSRC}/src/Burlap/allocate.h ${WRKSRC}/src/Burlap/interactive.c \ + ${WRKSRC}/src/Burlap/parser.c ${WRKSRC}/src/Burlap/parser.c \ + ${WRKSRC}/src/Corduroy/parser.c ${WRKSRC}/src/Corduroy/parser.c \ + ${WRKSRC}/src/Patchwork/util.c + post-install: ${MKDIR} ${PREFIX}/share/examples/FElt ${CP} ${WRKSRC}/examples/* ${PREFIX}/share/examples/FElt |