Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Dec 2019 15:51:50 +0000 (UTC)
From:      Steve Wills <swills@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r519024 - head/chinese/auto-cn-l10n
Message-ID:  <201912041551.xB4FpoEf011615@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201912041551.xB4FpoEf011615>