ted: fix datadir on cross

This commit is contained in:
Đoàn Trần Công Danh 2020-05-17 17:57:15 +07:00
parent 180d4cb13f
commit 8be8d5056c

View file

@ -1,7 +1,7 @@
# Template file for 'ted'
pkgname=ted
version=2.23
revision=2
revision=3
wrksrc=Ted-${version}
build_style=gnu-configure
hostmakedepends="pkg-config tar"
@ -24,7 +24,7 @@ post_patch() {
do_configure() {
# replace all newlines with tabs
export CONFIGURE_OPTIONS="${configure_args//
/ }"
/ } --datadir=/usr/share"
vsed -i -e '/^CONFIGURE_OPTIONS[ ]*=/ s/=/ += /' Makefile
make $(sed -n '/^[-a-zA-Z0-9_]*\/[Mm]akefile:/ s/:.*//p' Makefile)
}