commit 795ccc9

hovercats  ·  2025-11-26 08:10:01 +0000 UTC
parent dfdb88e
sbase: bump to latest commit | this introduces their new bc implementation.
3 files changed,  +11, -2
+9, -0
 1@@ -4,6 +4,8 @@ cflags{
 2 	'-D _BSD_SOURCE',
 3 	'-D _XOPEN_SOURCE=700',
 4 	'-I $outdir',
 5+	'-I $srcdir',
 6+	([['-D PREFIX="%s"']]):format(config.prefix),
 7 }
 8 
 9 lib('libutil.a', [[libutil/(
10@@ -185,6 +187,13 @@ for _, cmd in ipairs(cmds) do
11 	file('share/man/man1/'..cmd..'.1.gz', '644', out)
12 end
13 
14+yacc('bc', 'bc.y')
15+--build('copy', '$outdir/arg.h', '$srcdir/arg.h')
16+--build('copy', '$outdir/util.h', '$srcdir/util.h')
17+pkg.deps = {'$outdir/bc.tab.c'}
18+exe('bc', [[$outdir/(bc.tab.c libutil.a)]])
19+file('bin/bc', '755', '$outdir/bc')
20+
21 exe('smake', {
22 	'make/defaults.c',
23 	'make/main.c',
+1, -1
1@@ -1 +1 @@
2-Subproject commit d77328ca4d1a7aab1905a85faea8bacdcb0cb293
3+Subproject commit 4d7926403e6860a915d2f3de5f6fe2b297ebb2e4
+1, -1
1@@ -1 +1 @@
2-d77328c r0
3+4d79264 r0