diff --git a/srcpkgs/viking/template b/srcpkgs/viking/template index e0807418ec..6f7a469c20 100644 --- a/srcpkgs/viking/template +++ b/srcpkgs/viking/template @@ -1,7 +1,7 @@ # Template file for 'viking' pkgname=viking version=1.8 -revision=1 +revision=2 build_style=gnu-configure configure_args="--disable-realtime-gps-tracking --disable-bluemarble --disable-bing --disable-terraserver --disable-spotmaps @@ -20,3 +20,9 @@ checksum=855cbccd5f17ef0dc6d7e2d080a4b20383a079dfb882edd04dba602297030fa8 patch_args="-Np1" CFLAGS="-fcommon" + +post_patch() { + vsed -i -e '/DATADIRNAME=/s/=.*/=share/' \ + -e '/localedir=.*eval/s,=.*,=/usr/share/locale,' \ + configure +}