mirror of
https://github.com/void-linux/void-packages.git
synced 2025-05-30 11:43:50 +02:00
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'
|
# 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)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue