summaryrefslogtreecommitdiffstats
path: root/cad/felt/Makefile
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2002-01-26 08:43:58 +0000
committerkris <kris@FreeBSD.org>2002-01-26 08:43:58 +0000
commit4fbcf3c7719395bef30644f73a4a672798abdcbb (patch)
tree41945bb845889b3ea016e73d6510aeddbe4499a9 /cad/felt/Makefile
parente7cd6e62b9e6b4c3a0dde3ffb5a39bfe516061d0 (diff)
downloadFreeBSD-ports-4fbcf3c7719395bef30644f73a4a672798abdcbb.zip
FreeBSD-ports-4fbcf3c7719395bef30644f73a4a672798abdcbb.tar.gz
Fix build on -current
Diffstat (limited to 'cad/felt/Makefile')
-rw-r--r--cad/felt/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/cad/felt/Makefile b/cad/felt/Makefile
index 210feec..2f0fe27 100644
--- a/cad/felt/Makefile
+++ b/cad/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
OpenPOWER on IntegriCloud