hub: fix cross
This commit is contained in:
parent
36a60895da
commit
562f76213a
1 changed files with 8 additions and 0 deletions
|
@ -13,9 +13,17 @@ changelog="https://github.com/github/hub/releases"
|
|||
distfiles="https://github.com/github/hub/archive/v${version}.tar.gz"
|
||||
checksum=c4df5ce953aa5dd5c4fa57ada96559b4b76bbd30a9e961e10e881be869cf4f2c
|
||||
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
hostmakedepends+=" hub"
|
||||
fi
|
||||
|
||||
post_install() {
|
||||
sed -i 's@1.ronn bin/ronn@1.ronn@;s@bin/ronn@ronn@' Makefile
|
||||
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
sed -i 's|bin/hub|hub|g' Makefile
|
||||
fi
|
||||
|
||||
make man-pages
|
||||
|
||||
for m in share/man/man1/*.1; do
|
||||
|
|
Loading…
Reference in a new issue