diff options
Diffstat (limited to 'converters/mimelib/Makefile')
-rw-r--r-- | converters/mimelib/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/converters/mimelib/Makefile b/converters/mimelib/Makefile index 27c155fc69f0..d29ce3420f65 100644 --- a/converters/mimelib/Makefile +++ b/converters/mimelib/Makefile @@ -22,8 +22,9 @@ USE_LDCONFIG= yes .include <bsd.port.pre.mk> -.if ${OSVERSION} >= 700042 -BROKEN= Does not compile with GCC 4.2 -.endif +post-patch: + ${FIND} ${WRKSRC}/mimelib/ -name "*.cpp" -or -name "*.h" \ + | ${XARGS} ${REINPLACE_CMD} -e "s,iostream.h,iostream," + ${TOUCH} ${WRKSRC}/mimelib/mimelib/Makefile.in ${WRKSRC}/stamp-h.in ${WRKSRC}/Makefile.in ${WRKSRC}/mimelib/Makefile.in .include <bsd.port.post.mk> |