svn commit: r519024 - head/chinese/auto-cn-l10n

Steve Wills swills at FreeBSD.org
Wed Dec 4 15:51:50 UTC 2019


Author: swills
Date: Wed Dec  4 15:51:50 2019
New Revision: 519024
URL: https://svnweb.freebsd.org/changeset/ports/519024

Log:
  chinese/auto-cn-l10n: correct redundant REINPLACE_CMD

Modified:
  head/chinese/auto-cn-l10n/Makefile   (contents, props changed)

Modified: head/chinese/auto-cn-l10n/Makefile
==============================================================================
--- head/chinese/auto-cn-l10n/Makefile	Wed Dec  4 15:46:24 2019	(r519023)
+++ head/chinese/auto-cn-l10n/Makefile	Wed Dec  4 15:51:50 2019	(r519024)
@@ -14,7 +14,6 @@ COMMENT=	The automatic localization for Simplified Chi
 
 NO_BUILD=	yes
 SUB_FILES=	pkg-message
-REINPLACE_ARGS=	-i ""
 
 OPTIONS_DEFINE=		WQY FIREFLYTTF FCITX SCIM MINICHINPUT RELAXCONF
 OPTIONS_DEFAULT=	WQY SCIM RELAXCONF
@@ -34,8 +33,9 @@ MINICHINPUT_RUN_DEPENDS=chinput:chinese/miniChinput
 RELAXCONF_RUN_DEPENDS=	relaxconf:sysutils/relaxconf
 
 post-patch:
-	@${REINPLACE_CMD} -e "s|%%LOCALBASE%%|${LOCALBASE}|g; \
+	@${REINPLACE_CMD} -e "s|%%X11BASE%%|${LOCALBASE}|g; \
 		s|%%LOCALBASE%%|${LOCALBASE}|g" ${WRKSRC}/dot.xselector ${WRKSRC}/dot.xinitrc
+	@${RM} ${WRKSRC}/dot.xselector.bak ${WRKSRC}/dot.xinitrc.bak
 
 do-install:
 	${MKDIR} ${STAGEDIR}${PREFIX}/share/skel/zh_CN.eucCN


More information about the svn-ports-head mailing list