So I'd like to try the kakoune editor on openbsd 6.3-current. 

For now I've identified two files that stop me from compiling the project, 
The first one is the makefile, which requires gmake and has a os
specific command for finding ncursesw and the second one is the file.cc
file in the get_kak_binary_path function, where there is also os specific
preprocessing.

My naive fix was to copy paste the dragonflybsd entries and rename them
to openbsd and while it does allow the project to compile, it
understandably aborts when run.

So trying again I looked closer at what the function was doing and how
it was implemented for freebsd and dragonflybsd. The function
tries to find the executable path of kak, but the freebsd way of doing
it doesnt work because it doesnt seem like KERN_PROC_PATHNAME is defined
in openbsd? So whats the preferred way of doing this on openbsd?

https://github.com/mawww/kakoune/blob/master/src/file.cc
https://github.com/mawww/kakoune/tree/master/src

Thanks,
Patrick Marchand

Reply via email to