summaryrefslogtreecommitdiffstats
path: root/graphics/gphoto2
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2002-09-09 04:39:57 +0000
committermarcus <marcus@FreeBSD.org>2002-09-09 04:39:57 +0000
commit6ef05a2c219e843b715d7843e93ab520e2b2302e (patch)
tree992ec6e32bf3ffc8dbb0ed5860b9bb3939225878 /graphics/gphoto2
parent0d220da46b6c87f83a17832a2a46b4e474943190 (diff)
downloadFreeBSD-ports-6ef05a2c219e843b715d7843e93ab520e2b2302e.zip
FreeBSD-ports-6ef05a2c219e843b715d7843e93ab520e2b2302e.tar.gz
Fix build on -CURRENT (s/malloc.h/stdlib.h).
Submitted by: bento
Diffstat (limited to 'graphics/gphoto2')
-rw-r--r--graphics/gphoto2/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/graphics/gphoto2/Makefile b/graphics/gphoto2/Makefile
index 2d03e3b..f8434e8 100644
--- a/graphics/gphoto2/Makefile
+++ b/graphics/gphoto2/Makefile
@@ -48,6 +48,8 @@ post-patch:
s| install-docDATA||g ; \
s| install-figureDATA||g ; \
s|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g'
+ @${FIND} ${WRKSRC} -name "*.[ch]" | ${XARGS} ${REINPLACE_CMD} -e \
+ 's|malloc\.h|stdlib.h|g'
post-install:
.if !defined(NOPORTDOCS)
OpenPOWER on IntegriCloud