aboutsummaryrefslogtreecommitdiff
path: root/extra/bmake/build
blob: 01e6b58a34a68d27ea0561639279e975357197b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh -e

export LDFLAGS="$LDFLAGS -static"

clsed '1s,:,#!/bin/sh,' install-sh
clsed 's/op_test() {/& return 0;/' boot-strap

./boot-strap --prefix=/usr op=build
./boot-strap --prefix=/usr --install-destdir="$1" op=install

clman -d "$1" bmake.1