aboutsummaryrefslogtreecommitdiff
path: root/graphics/gphoto2
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2002-09-09 04:39:57 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2002-09-09 04:39:57 +0000
commit4d606c20340331d65486b08ae2330522031028ec (patch)
tree0a084f780e29c54a0b18c2a42878ab18bb90a003 /graphics/gphoto2
parent5c944aee9c3ba0a7280ddcfc5a7433dab707e819 (diff)
downloadports-4d606c20340331d65486b08ae2330522031028ec.tar.gz
ports-4d606c20340331d65486b08ae2330522031028ec.zip
Fix build on -CURRENT (s/malloc.h/stdlib.h).
Submitted by: bento
Notes
Notes: svn path=/head/; revision=65890
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 2d03e3b04e02..f8434e80afd4 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)