aboutsummaryrefslogtreecommitdiffstats
path: root/chinese/oto
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2003-11-20 06:08:29 +0800
committerdes <des@FreeBSD.org>2003-11-20 06:08:29 +0800
commit493d5d5210011e778b2c82042678daca2c95f6ea (patch)
treefc4e7f04db2544d1375bea663b2277c3ab383bb2 /chinese/oto
parentc4ca905a110db440f195e53ea9854282a4ac2d75 (diff)
downloadfreebsd-ports-gnome-493d5d5210011e778b2c82042678daca2c95f6ea.tar.gz
freebsd-ports-gnome-493d5d5210011e778b2c82042678daca2c95f6ea.tar.zst
freebsd-ports-gnome-493d5d5210011e778b2c82042678daca2c95f6ea.zip
Fix incorrect ${REINPLACE_CMD} use and a couple of style nits.
Approved by: portmgr (kkenn)
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>