aboutsummaryrefslogtreecommitdiffstats
path: root/japanese
diff options
context:
space:
mode:
authorSteve Wills <swills@FreeBSD.org>2020-04-03 21:51:51 +0800
committerSteve Wills <swills@FreeBSD.org>2020-04-03 21:51:51 +0800
commit2b4c6cc6a65a4a4ea6970252c83c4fe6941281f6 (patch)
tree96564f8d43566d05d113b5fc226e18109d0c1bc6 /japanese
parent3e426d94d10a025f52b3e5cfc1c6aa4a1bce9b55 (diff)
downloadfreebsd-ports-gnome-2b4c6cc6a65a4a4ea6970252c83c4fe6941281f6.tar.gz
freebsd-ports-gnome-2b4c6cc6a65a4a4ea6970252c83c4fe6941281f6.tar.zst
freebsd-ports-gnome-2b4c6cc6a65a4a4ea6970252c83c4fe6941281f6.zip
japanese/scim-skk: Fix REINPLACE_CMD
Diffstat (limited to 'japanese')
-rw-r--r--japanese/scim-skk/Makefile2
-rw-r--r--japanese/scim-skk/files/patch-src-scim_skk_prefs.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/japanese/scim-skk/Makefile b/japanese/scim-skk/Makefile
index 16dd2be30c05..e8e250a95854 100644
--- a/japanese/scim-skk/Makefile
+++ b/japanese/scim-skk/Makefile
@@ -23,6 +23,6 @@ CPPFLAGS+= -I${LOCALBASE}/include -D__STDC_ISO_10646__
LDFLAGS+= -L${LOCALBASE}/lib
post-patch:
- @${REINPLACE_CMD} "s|LOCALBASE|${LOCALBASE}|" ${WRKSRC}/src/scim_skk_prefs.h
+ @${REINPLACE_CMD} "s|%%LOCALBASE%%|${LOCALBASE}|" ${WRKSRC}/src/scim_skk_prefs.h
.include <bsd.port.mk>
diff --git a/japanese/scim-skk/files/patch-src-scim_skk_prefs.h b/japanese/scim-skk/files/patch-src-scim_skk_prefs.h
index 99b0ebe256c0..0a281be770f2 100644
--- a/japanese/scim-skk/files/patch-src-scim_skk_prefs.h
+++ b/japanese/scim-skk/files/patch-src-scim_skk_prefs.h
@@ -5,7 +5,7 @@
#define SCIM_SKK_CONFIG_SELECTION_STYLE_DEFAULT "Qwerty"
-#define SCIM_SKK_CONFIG_SYSDICT_DEFAULT "DictFile:/usr/share/skk/SKK-JISYO.L"
-+#define SCIM_SKK_CONFIG_SYSDICT_DEFAULT "DictFile:/usr/local/share/skk/SKK-JISYO.L"
++#define SCIM_SKK_CONFIG_SYSDICT_DEFAULT "DictFile:%%LOCALBASE%%/share/skk/SKK-JISYO.L"
#define SCIM_SKK_CONFIG_USERDICT_DEFAULT ".skk-scim-jisyo"
#define SCIM_SKK_CONFIG_CANDVEC_SIZE_DEFAULT 4
#define SCIM_SKK_CONFIG_ANNOT_VIEW_DEFAULT true