[Kde-games-devel] GGZ.cmake does not respect DESTDIR

Gabriel C crazy at frugalware.org
Sat Dec 15 16:15:00 CET 2007


Hello,

when installing kdegames trunk , with  ggz support  DESTDIR for ggz does not work.

snip

...

-- Installing /work/crazy/repos/playground/source/kde4/kdegames/pkg/usr/bin/kreversi
running /usr/bin/ggz-config --install --force --modfile=/work/crazy/repos/playground/source/kde4/kdegames/src/kdegames-3.97.1_747147/kreversi/module.dsc 2>&1
(<errorsys>) Unable to read file /etc/ggz.modules: No such file or directory
Setting up GGZ game modules configuration in /etc/ggz.modules
(<errorsys>) Unable to create file /etc/ggz.modules: Permission denied
Insufficient permission to install modules

...

This is because -D argument is missing which installs to DESTDIR when DESTDIR is used. 

The attached patch fixes the problem.

( Patch could be downloaded from http://crazy.dev.frugalware.org/ggz_respect_destdir.patch as well )

Best Regards,

Gabriel
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ggz_respect_destdir.patch
Url: http://mail.kde.org/pipermail/kde-games-devel/attachments/20071215/e0cac34e/attachment.ksh 


More information about the kde-games-devel mailing list