aboutsummaryrefslogtreecommitdiffstats
path: root/chinese/oto
diff options
context:
space:
mode:
Diffstat (limited to 'chinese/oto')
-rw-r--r--chinese/oto/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/chinese/oto/Makefile b/chinese/oto/Makefile
index 7cc5d1332a2c..dd31c9fcaa01 100644
--- a/chinese/oto/Makefile
+++ b/chinese/oto/Makefile
@@ -24,7 +24,8 @@ USE_REINPLACE= yes
CPPFLAGS= -I${LOCALBASE}/include
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LIBS="-L${LOCALBASE}/lib -liconv"
-.include <bsd.port.pre.mk>
post-patch:
- @${FIND} ${WRKSRC}/src/ -name "*" | ${XARGS} ${REINPLACE_CMD} -e 's,stdint.h,inttypes.h,'
-.include <bsd.port.post.mk>
+ @${FIND} ${WRKSRC}/src/ -type f -print0 | \
+ ${XARGS} -0 ${REINPLACE_CMD} -e 's,stdint.h,inttypes.h,'
+
+.include <bsd.port.mk>