Skip to content

Commit

Permalink
fix(bc)
Browse files Browse the repository at this point in the history
 closes #8297
  • Loading branch information
jhheider committed Jan 2, 2025
1 parent 476f87d commit 2c6816b
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion projects/gnu.org/bc/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ build:
gnu.org/texinfo: '*'
script:
- ./configure $ARGS
# this tries to add `-ledit` to the list of targets on darwin
- run: "sed -i 's/^\\(\\$(PROGRAMS): \\$(LDADD)\\)$/# \\1/' Makefile"
working-directory: dc
if: '>=1.8'
- make --jobs {{hw.concurrency}} install
env:
ARGS:
Expand All @@ -32,7 +36,13 @@ build:

provides:
- bin/bc
- bin/dc

test:
- bc --version | grep {{version.raw}}
- echo '150+150' | bc | grep 300
- echo '150+150' | bc | grep 300
- dc --version | grep {{version.raw}}
- run: test "$(dc -f $FIXTURE)" = 300
fixture: |
150 150 +
p

0 comments on commit 2c6816b

Please sign in to comment.