diff options
author | Will Andrews <will@FreeBSD.org> | 2002-04-04 11:51:58 +0000 |
---|---|---|
committer | Will Andrews <will@FreeBSD.org> | 2002-04-04 11:51:58 +0000 |
commit | c364686d1f95c7c46c3cbcc9e8beabfe38295aaf (patch) | |
tree | 70138b83d3b6e4755bf1e6fdfb9205f07ae8dc34 /deskutils/kdepim4 | |
parent | Add 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.
Diffstat (limited to 'deskutils/kdepim4')
-rw-r--r-- | deskutils/kdepim4/Makefile | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/deskutils/kdepim4/Makefile b/deskutils/kdepim4/Makefile index 7d9c3d4d4f47..a7b6f723a07a 100644 --- a/deskutils/kdepim4/Makefile +++ b/deskutils/kdepim4/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 |