Use the FIND and XARGS macros introduced in bsd.port.mk 1.391.

This commit is contained in:
Trevor Johnson 2003-11-13 11:50:40 +00:00
parent 39a7f86255
commit b5c7760f0d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=93883
2 changed files with 3 additions and 3 deletions

View File

@ -24,7 +24,7 @@ USE_QT_VER= 3
MAN1= bbconf.1
post-patch:
@find ${WRKSRC} -name 'Makefile.in' -print | \
xargs ${PERL} -pi.orig -e 's#lib/bbconf#libexec/bbconf#g'
@${FIND} ${WRKSRC} -name 'Makefile.in' -print | \
${XARGS} ${PERL} -pi.orig -e 's#lib/bbconf#libexec/bbconf#g'
.include <bsd.port.mk>

View File

@ -35,7 +35,7 @@ BROKEN= "Fails to link"
.endif
post-patch:
find ${WRKSRC} -name "Makefile" | xargs ${REINPLACE_CMD} \
${FIND} ${WRKSRC} -name "Makefile" | ${XARGS} ${REINPLACE_CMD} \
's|/usr/local/qlwm|${PREFIX}/${LIBDIR}|g ; \
s|^CXX|#CXX|g ; \
s|^INCPATH|#INCPATH|g ; \