mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-11 11:47:02 +02:00
gnubg: bodge locales for musl.
This commit is contained in:
parent
83120f11db
commit
75959bd4ca
1 changed files with 11 additions and 2 deletions
|
@ -1,10 +1,10 @@
|
|||
# Template file for 'gnubg'
|
||||
pkgname=gnubg
|
||||
version=1.08.003
|
||||
revision=4
|
||||
revision=5
|
||||
build_style=gnu-configure
|
||||
configure_args="--disable-cputest ax_cv_gcc_x86_cpuid_0x00000001=6000000
|
||||
--with-gtk3"
|
||||
--with-gtk3 --localedir=/usr/share/locale"
|
||||
hostmakedepends="flex gdk-pixbuf-devel gettext pkg-config python3-devel"
|
||||
makedepends="libcurl-devel libglib-devel gtk+3-devel libepoxy-devel python3-devel
|
||||
glu-devel libcanberra-devel readline-devel readline sqlite-devel"
|
||||
|
@ -34,3 +34,12 @@ pre_configure() {
|
|||
export PYTHON_CPPFLAGS="-I${XBPS_CROSS_BASE}/usr/include/python${py3_ver}"
|
||||
fi
|
||||
}
|
||||
|
||||
post_configure() {
|
||||
vsed -i -e 's:^localedir = .*:localedir = /usr/share/locale:' \
|
||||
-e 's:^gnulocaledir = .*:gnulocaledir = /usr/share/locale:' po/Makefile
|
||||
}
|
||||
|
||||
post_install() {
|
||||
rm -rf ${DESTDIR}/usr/lib/locale
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue