xfce4-dev-tools: fix cross build
This commit is contained in:
parent
11620b1cae
commit
8c32d55744
1 changed files with 10 additions and 0 deletions
|
@ -12,3 +12,13 @@ license="GPL-2.0-or-later"
|
|||
homepage="https://xfce.org/"
|
||||
distfiles="https://archive.xfce.org/src/xfce/${pkgname}/${version%.*}/${pkgname}-${version}.tar.bz2"
|
||||
checksum=f50b3070e66f3ebdf331744dd1ec5e1af5de333965d491e15ce05545e8eb4f04
|
||||
|
||||
post_patch() {
|
||||
[ "$CROSS_BUILD" ] || return 0
|
||||
# For testing, which can't be run on cross build
|
||||
vsed -i -e '/^\ttest-xdt-csource\t/d' tests/Makefile.am
|
||||
vsed -i -e 's/^TESTS =.*/TESTS =/' \
|
||||
-e 's/^check_PROGRAMS =.*/check_PROGRAMS =/' \
|
||||
-e 's/\$.*xdt-csource --extern.*>/touch /' \
|
||||
tests/Makefile.in
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue