summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorJiří Klimeš2020-01-28 15:37:38 +0100
committerJiří Klimeš2020-01-28 16:30:32 +0100
commit9410d7a268a6428fdd4a7ba2d0b9935fb43bdc74 (patch)
tree78f55b92ebdefdeb586608506ee7fc146319c4f8 /PKGBUILD
parent1cc7547a5b8dedf75aca9fb9734fc9d6eb7beda2 (diff)
downloadaur-9410d7a268a6428fdd4a7ba2d0b9935fb43bdc74.tar.gz
Enable Czech and Russian translations
The translations are not compiled by default. Specific ifdefs have to be enabled to include the localization files. There's no handy switch in makefile's to pass the defines to gcc. Fortunately, it can be done via DEFINES environmental variable. (Setting DEFINES on make command-line doesn't work, because it would override any changes made to DEFINES in makefiles.)
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD2
1 files changed, 1 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 47e4aa56f7a5..07538dcc27f4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -82,7 +82,7 @@ _lua_iup_build_helper() {
build() {
# Build main iup package (without Lua bindings)
cd "$pkgname"
- make \
+ DEFINES="IUP_CZECH IUP_RUSSIAN" make \
iup \
iupgtk \
iupmot \