kevinlawler / kona

Open-source implementation of the K programming language
ISC License
1.36k stars 138 forks source link

partial fixed to include more *BSD #577

Closed ghost closed 4 years ago

ghost commented 4 years ago

I'm packaging kona for pkgsrc. This is a cross-platform packaging system by NetBSD. While doing so I ran into the makefile which looks rather suboptimal and tries to assume too much[*].

Additional proposal:

Since the requirements are rather simple, I can come up with anything I proposed, but first I wanted some feedback if you'd generally be interested in these kind of changes.

[*]: Let people who port to systems run into issues instead of add N+1 system detection to the makefile, etc

bakul commented 4 years ago

Please, no autotools or cmake or ninja. There are significant packages like plan9port that do not use these things and do fine.

ghost commented 4 years ago

Okay, thanks. I still think there's some improvements which can be made to avoid repetition for new supported systems. my solution was not elegant but did enable at least initial building on a NetBSD host (leaving out build errors for now).

What I'd like to see is a solution where I do not need to pass along more patches than necessary for all platforms pkgsrc supports, while (ideally) still staying small in dependency size.

I'll see what I can come up with with the existing gmake.