Replace ${PERL} with ${REINPLACE_CMD}.

PR:	39243, 39244, 39245, 39249
Submitted by:	maintainer
This commit is contained in:
Ying-Chieh Liao 2002-06-14 07:21:10 +00:00
parent 29218a1aba
commit 43e80d5a4b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=61249
6 changed files with 8 additions and 8 deletions

View File

@ -67,7 +67,7 @@ pre-fetch:
.endif
post-patch:
@${PERL} -pi.orig -e 's|-O3|${CFLAGS}|' ${WRKSRC}/Makefile.inc
@${REINPLACE_CMD} -e 's|-O3|${CFLAGS}|' ${WRKSRC}/Makefile.inc
pre-install:
.if exists(${PREFIX}/bin/hmake) && !defined(OVERRIDE_HMAKE)

View File

@ -67,7 +67,7 @@ pre-fetch:
.endif
post-patch:
@${PERL} -pi.orig -e 's|-O3|${CFLAGS}|' ${WRKSRC}/Makefile.inc
@${REINPLACE_CMD} -e 's|-O3|${CFLAGS}|' ${WRKSRC}/Makefile.inc
pre-install:
.if exists(${PREFIX}/bin/hmake) && !defined(OVERRIDE_HMAKE)

View File

@ -67,7 +67,7 @@ pre-fetch:
.endif
post-patch:
@${PERL} -pi.orig -e 's|-O3|${CFLAGS}|' ${WRKSRC}/Makefile.inc
@${REINPLACE_CMD} -e 's|-O3|${CFLAGS}|' ${WRKSRC}/Makefile.inc
pre-install:
.if exists(${PREFIX}/bin/hmake) && !defined(OVERRIDE_HMAKE)

View File

@ -45,12 +45,12 @@ MAN1= rsync.1
MAN5= rsyncd.conf.5
pre-configure:
@${PERL} -pi.orig -e 's:/etc/:${PREFIX}/etc/:g' \
@${REINPLACE_CMD} -e 's:/etc/:${PREFIX}/etc/:g' \
${WRKSRC}/rsync.h ${WRKSRC}/rsync.1 ${WRKSRC}/rsyncd.conf.5
@${PERL} -pi.orig -e 's|malloc.h|stdlib.h|g' \
@${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|g' \
${WRKSRC}/rsync.h ${WRKSRC}/zlib/zutil.h
.if defined(WITH_SSH)
@${PERL} -pi.orig-rsh -e 's/"rsh"/"ssh"/g' ${WRKSRC}/rsync.h
@${REINPLACE_CMD} -e 's/"rsh"/"ssh"/g' ${WRKSRC}/rsync.h
.endif
post-install:

View File

@ -22,7 +22,7 @@ PORTDOCS= BUGS CONFIG-CHANGES CREDITS NEWS README README.NLS \
README.gtkrc TODO
post-patch:
@${PERL} -pi -e 's|icons|${DATADIR}/icons|g' ${WRKSRC}/gentoorc.in
@${REINPLACE_CMD} -e 's|icons|${DATADIR}/icons|g' ${WRKSRC}/gentoorc.in
post-install:
${INSTALL_MAN} ${WRKSRC}/docs/gentoo.1x ${MANPREFIX}/man/man1/gentoo.1

View File

@ -17,7 +17,7 @@ USE_GTK= yes
MAKE_ENV= CC="${CC} ${CFLAGS}"
post-patch:
@${PERL} -pi -e "s,gtk-config,${GTK_CONFIG},g ; \
@${REINPLACE_CMD} -e "s,gtk-config,${GTK_CONFIG},g ; \
s,^CC,#CC,g" ${WRKSRC}/Makefile
do-install: