Home | Docs | Forums | Lists | Bugs | Planet | Store | GMN | Get Gentoo!
Not eligible to see or edit group visibility for this bug.
View Bug Activity | Format For Printing | XML | Clone This Bug
the enigma datadir is modified from within the ebuild, but not in the relevant place for the files in the src/ directory which are compiled with a -DLOCALEDIR compile flag set from within src/Makefile.am based upon a datadir=... variable. Thus, the ebuild also needs to modify the datadir=... entry in src/Makefile.am in order to get nls to work properly (otherwise, the program won't find the locale files in /usr/share/locale/ --- /usr/portage/games-puzzle/enigma/enigma-0.91.ebuild 2005-05-26 18:51:03.000000000 +0200 +++ /usr/local/portage/games-puzzle/enigma/enigma-0.91.ebuild 2005-05-30 16:07:02.000000000 +0200 @@ -30,6 +30,9 @@ sed -i \ -e "/^datadir/s:=.*:= /usr/share:" po/Makefile.in.in \ || die "sed failed" + sed -i \ + -e "/^datadir/s:=.*:= /usr/share:" src/Makefile.am \ + || die "sed failed" fi # thanks, we'll handle the doc install ourselves. BTW, why aren't we setting the --datadir= ./configure flag instead? This would change the data and related directories in all relevant source files, wouldn't it? Reproducible: Always Steps to Reproduce:
okay, the following should actually be sufficient: --- /usr/portage/games-puzzle/enigma/enigma-0.91.ebuild 2005-05-26 18:51:03.000000000 +0200 +++ /usr/local/portage/games-puzzle/enigma/enigma-0.91.ebuild 2005-05-30 16:12:57.000000000 +0200 @@ -29,6 +29,7 @@ if use nls ; then sed -i \ -e "/^datadir/s:=.*:= /usr/share:" po/Makefile.in.in \ + src/Makefile.am \ || die "sed failed" fi
Fixed in CVS. resync/remerge to get the patch. Thanks for the bug report and patch.