summaryrefslogtreecommitdiff
path: root/deskutils/kdepim/Makefile
diff options
context:
space:
mode:
authorWill Andrews <will@FreeBSD.org>2002-04-04 11:51:58 +0000
committerWill Andrews <will@FreeBSD.org>2002-04-04 11:51:58 +0000
commitc364686d1f95c7c46c3cbcc9e8beabfe38295aaf (patch)
tree70138b83d3b6e4755bf1e6fdfb9205f07ae8dc34 /deskutils/kdepim/Makefile
parentAdd a patch to fix build on -current. Untested by me. Should work, though. (diff)
Make the perl regex to get rid of malloc.h much much more broad. Should
fix the build on -current.
Notes
Notes: svn path=/head/; revision=57311
Diffstat (limited to 'deskutils/kdepim/Makefile')
-rw-r--r--deskutils/kdepim/Makefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/deskutils/kdepim/Makefile b/deskutils/kdepim/Makefile
index 7d9c3d4d4f47..a7b6f723a07a 100644
--- a/deskutils/kdepim/Makefile
+++ b/deskutils/kdepim/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