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