git: fix bugreport cpu

This commit is contained in:
Đoàn Trần Công Danh 2021-09-06 17:56:06 +07:00 committed by Đoàn Trần Công Danh
parent 8169285196
commit 1a757937bf

View file

@ -1,7 +1,7 @@
# Template file for 'git'
pkgname=git
version=2.33.0
revision=1
revision=2
hostmakedepends="asciidoc gettext perl pkg-config tk xmlto"
makedepends="libglib-devel libcurl-devel libsecret-devel pcre2-devel tk-devel"
# Required by https://
@ -36,6 +36,8 @@ do_configure() {
PYTHON_PATH=/usr/bin/python3
DEFAULT_TEST_TARGET = prove
GIT_PROVE_OPTS = $makejobs
# firstword (uname -m)
HOST_CPU = ${XBPS_TARGET_MACHINE%-musl}
EOF
if [ "$XBPS_TARGET_LIBC" = musl ]; then