Commit Graph

3 Commits

Author SHA1 Message Date
ingenarel (NeoJesus)
347405cba1 www-client/chawan: set compiler flags and linker flags properly for nimc
Another thanks to Agostino Sarubbo for finding this bug

code is mostly copy pasted from the nim_gen_config() function from
nim-utils.eclass, modified a bit to actually append to the original
nim.cfg, instead of replacing it

This should hopefully, fix the issue. With my testing, I tested by
setting the compiler to clang and then GCC, and thankfully when I
checked btop, nimc was actually using the appropriate compiler

Closes: https://bugs.gentoo.org/975973
Signed-off-by: ingenarel (NeoJesus) <ingenarel_neojesus@disroot.org>
2026-05-30 18:50:03 +06:00
ingenarel (NeoJesus)
a46947eff8 www-client/chawan: properly separate and set dependencies
As per the devmanual, ${DEPEND} has been moved from ${BDEPEND}, because

> BDEPEND specifies dependencies applicable to CBUILD, i.e. programs that
> need to be executed during the build, e.g. virtual/pkgconfig. DEPEND
> specifies dependencies for CHOST, i.e. packages that need to be found on
> built system, e.g. libraries and headers.

On top of that, a proper ${RDEPEND} has also been set, as it didn't
contain the necessary dependencies, which was found by Agostino Sarubbo

Closes: https://bugs.gentoo.org/975673
Signed-off-by: ingenarel (NeoJesus) <ingenarel_neojesus@disroot.org>
2026-05-25 19:14:54 +06:00
ingenarel (NeoJesus)
8adeb61578 www-client/chawan: add 0.4.0
Signed-off-by: ingenarel (NeoJesus) <ingenarel_neojesus@disroot.org>
2026-05-21 11:09:58 +06:00