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

export LDFLAGS="$LDFLAGS -static"

sed -i '1s,:,#!/bin/sh,' install-sh
sed -i '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