Le 2018-04-17 02:43, Patrick Marchand a écrit :
On 04/16, Stuart Henderson wrote:
> On 2018-04-16, Patrick Marchand <[email protected]> wrote:
> 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?
Hardcode it.
If anybody wants to play with it, heres my tentative pull request
https://github.com/mawww/kakoune/pull/2005
Kakoune has at least one stable release, so I might make this my first
try at creating an openbsd package.
hello,
In another port I used a patch and SUBST_VAR to replace
KERN_PROC_PATHNAME
by the correct path using ${PREFIX} variable. By hardcoding it with
/usr/local/bin it won't works for people having a different ${PREFIX}
which
could happen for some reason.
You can take a look at games/tome4 and the patch patch-src_getself_c