summaryrefslogtreecommitdiffstats
path: root/chinese/hanzim
diff options
context:
space:
mode:
Diffstat (limited to 'chinese/hanzim')
-rw-r--r--chinese/hanzim/files/patch-hanzim.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/chinese/hanzim/files/patch-hanzim.c b/chinese/hanzim/files/patch-hanzim.c
index 29043d0..ff0a88c 100644
--- a/chinese/hanzim/files/patch-hanzim.c
+++ b/chinese/hanzim/files/patch-hanzim.c
@@ -7,7 +7,7 @@
+/* hanzim need a running XFree to do its initial setup, rectify */
+ if (!(strcmp(argv[1], "-port-install")))
+ {
-+ char *portdatadir = PREFIX"/lib/hanzim";
++ char *portdatadir = "%%PREFIX%%/lib/hanzim";
+ init_vars(portdatadir);
+ kanzi(portdatadir);
+ kanhe(portdatadir);
OpenPOWER on IntegriCloud