On Sat Oct 22, 2022 at 09:47:04PM +0900, SASANO Takayoshi wrote:
> Hello,
> 
> To support SKK-jisyo (japanese/skk-jisyo) package, the path to
> Japanese word dictionary file should be fixed.
> 
> ok?
> 
> -- 
> SASANO Takayoshi (JG1UAA) <u...@mx5.nisiq.net>
> 
> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/inputmethods/fcitx-kkc/Makefile,v
> retrieving revision 1.5
> diff -u -p -r1.5 Makefile
> --- Makefile  13 May 2022 18:59:19 -0000      1.5
> +++ Makefile  22 Oct 2022 12:42:06 -0000
> @@ -2,7 +2,7 @@ COMMENT =     libkkc wrapper for fcitx5
>  
>  V =          5.0.8
>  PKGNAME =    fcitx-kkc-$V
> -REVISION =      0
> +REVISION =      1
>  
>  GH_ACCOUNT =    fcitx
>  GH_PROJECT =    fcitx5-kkc
> Index: patches/patch-CMakeLists.txt
> ===================================================================
> RCS file: patches/patch-CMakeLists.txt
> diff -N patches/patch-CMakeLists.txt
> --- /dev/null 1 Jan 1970 00:00:00 -0000
> +++ patches/patch-CMakeLists.txt      22 Oct 2022 12:42:06 -0000
> @@ -0,0 +1,11 @@
> +--- CMakeLists.txt.orig      Thu Mar 10 03:25:57 2022
> ++++ CMakeLists.txt   Sat Oct 22 21:30:34 2022
> +@@ -25,7 +25,7 @@
> + endif ()
> + 
> + if (NOT SKK_DEFAULT_PATH)
> +-    set(SKK_DEFAULT_PATH "/usr/share/skk/")
> ++    set(SKK_DEFAULT_PATH "/usr/local/share/skk/")

Please use ${LOCALBASE} instead of /usr/local. For example:

set(SKK_DEFAULT_PATH "${LOCALBASE}/share/skk/")

and

pre-configure:
    ${SUBST_CMD} ${WRKSRC}/CMakeLists.txt

> + endif ()
> + 
> + 
> include("${FCITX_INSTALL_CMAKECONFIG_DIR}/Fcitx5Utils/Fcitx5CompilerSettings.cmake")
> 

Reply via email to