summaryrefslogtreecommitdiff
path: root/x11-fm
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2002-03-31 04:35:41 +0000
committerKris Kennaway <kris@FreeBSD.org>2002-03-31 04:35:41 +0000
commit8476776ec60e071b7fb0df9341fcd550a747d2ff (patch)
tree32d4ee0d72ec0f42154d0f9854c2a7dddf652724 /x11-fm
parentRemove #include <malloc.h>. Build seems to still be broken. (diff)
Remove #include <malloc.h>
Notes
Notes: svn path=/head/; revision=57021
Diffstat (limited to 'x11-fm')
-rw-r--r--x11-fm/xnc/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/x11-fm/xnc/Makefile b/x11-fm/xnc/Makefile
index ffe6771e24e0..1280c3b2e272 100644
--- a/x11-fm/xnc/Makefile
+++ b/x11-fm/xnc/Makefile
@@ -35,6 +35,12 @@ INSTALLS_SHLIB= yes
MAN1= es.1 ives.1 vs.1 xjpegroot.1 xnc.1 xnlaunch.1
+pre-patch:
+ @${PERL} -pi -e 's,<malloc.h>,<stdlib.h>,' \
+ ${WRKSRC}/image/picinfo.h ${WRKSRC}/jpeg/jmemdos.c \
+ ${WRKSRC}/libpng/ansi2knr.c ${WRKSRC}/libpng/pngconf.h \
+ ${WRKSRC}/zlib/zutil.h
+
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}