ted: fix datadir on cross
This commit is contained in:
parent
180d4cb13f
commit
8be8d5056c
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue