aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/kdepim3/Makefile
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2002-04-04 19:51:58 +0800
committerwill <will@FreeBSD.org>2002-04-04 19:51:58 +0800
commit3b27d55770c9855d0b45134e9d0b4675c99d4069 (patch)
treee1fe4da2a70d33ad374c1f12650d036d4756ede5 /deskutils/kdepim3/Makefile
parent61d0558435d639802649747238c2e75ef1889034 (diff)
downloadfreebsd-ports-gnome-3b27d55770c9855d0b45134e9d0b4675c99d4069.tar.gz
freebsd-ports-gnome-3b27d55770c9855d0b45134e9d0b4675c99d4069.tar.zst
freebsd-ports-gnome-3b27d55770c9855d0b45134e9d0b4675c99d4069.zip
Make the perl regex to get rid of malloc.h much much more broad. Should
fix the build on -current.
Diffstat (limited to 'deskutils/kdepim3/Makefile')
-rw-r--r--deskutils/kdepim3/Makefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/deskutils/kdepim3/Makefile b/deskutils/kdepim3/Makefile
index 7d9c3d4d4f47..a7b6f723a07a 100644
--- a/deskutils/kdepim3/Makefile
+++ b/deskutils/kdepim3/Makefile
@@ -38,11 +38,8 @@ MAKE_ENV= ${CONFIGURE_ENV}
USE_GMAKE= yes
post-patch:
- @${PERL} -pi -e 's,malloc.h,stdlib.h,' \
- ${WRKSRC}/libical/src/libical/icallangbind.c \
- ${WRKSRC}/libical/src/libicalvcal/vcc.y \
- ${WRKSRC}/libical/src/libicalvcal/vobject.c \
- ${WRKSRC}/libkcal/parseholiday.c
+ @${FIND} ${WRKSRC} -type f | ${XARGS} ${PERL} -pi -e \
+ "s,#include.*<malloc.h>,#include <stdlib.h>,g"
pre-configure:
${MKDIR} ${WRKSRC}/auto-bin