1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

Set LC_CTYPE to 'C' for ${REINPLACE_CMD}, since if LC_CTYPE is set to

others (such as ja_JP.eucJP), replacing string may fail.

No bumps, since nothing changed if REINPLACE_CMD works as expected.

Requested by:	kuriyama
This commit is contained in:
Makoto Matsushita 2007-02-15 10:49:20 +00:00
parent 56af30fa1a
commit 8601adbebc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=185225
3 changed files with 4 additions and 4 deletions

View File

@ -105,10 +105,10 @@ post-extract:
post-patch:
.if defined(WITH_VMWARE_VMMEMCTL)
${REINPLACE_CMD} -e 's|vmmemctl1.o||' ${WRKDIR}/vmmemctl-only/Makefile
LC_CTYPE=C ${REINPLACE_CMD} -e 's|vmmemctl1.o||' ${WRKDIR}/vmmemctl-only/Makefile
${ECHO_CMD} "OBJS+=vmmemctl1.o" >> ${WRKDIR}/vmmemctl-only/Makefile
.endif
${REINPLACE_CMD} "`${PRINTF} 's|\0152\013\0350|\0152\\\n\0350|g'`" \
LC_CTYPE=C ${REINPLACE_CMD} "`${PRINTF} 's|\0152\013\0350|\0152\\\n\0350|g'`" \
${WRKSRC}/sbin/vmware-checkvm
.if defined(VMWARE_X_PORTS)

View File

@ -189,7 +189,7 @@ do-install:
.else
post-patch:
${REINPLACE_CMD} "`${PRINTF} 's|\0152\013\0350|\0152\\\n\0350|g'`" \
LC_CTYPE=C ${REINPLACE_CMD} "`${PRINTF} 's|\0152\013\0350|\0152\\\n\0350|g'`" \
${WRKSRC}/lib/sbin${BITS}/vmware-checkvm
do-build:

View File

@ -189,7 +189,7 @@ do-install:
.else
post-patch:
${REINPLACE_CMD} "`${PRINTF} 's|\0152\013\0350|\0152\\\n\0350|g'`" \
LC_CTYPE=C ${REINPLACE_CMD} "`${PRINTF} 's|\0152\013\0350|\0152\\\n\0350|g'`" \
${WRKSRC}/lib/sbin${BITS}/vmware-checkvm
do-build: