aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2002-09-09 12:39:57 +0800
committermarcus <marcus@FreeBSD.org>2002-09-09 12:39:57 +0800
commit6ef05a2c219e843b715d7843e93ab520e2b2302e (patch)
tree992ec6e32bf3ffc8dbb0ed5860b9bb3939225878
parent0d220da46b6c87f83a17832a2a46b4e474943190 (diff)
downloadfreebsd-ports-gnome-6ef05a2c219e843b715d7843e93ab520e2b2302e.tar.gz
freebsd-ports-gnome-6ef05a2c219e843b715d7843e93ab520e2b2302e.tar.zst
freebsd-ports-gnome-6ef05a2c219e843b715d7843e93ab520e2b2302e.zip
Fix build on -CURRENT (s/malloc.h/stdlib.h).
Submitted by: bento
-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)