http://bugs.freeciv.org/Ticket/Display.html?id=39808 >
> [jordi - Mon Oct 29 11:17:56 2007]:
>
> data/Makefile.am installs GGZ stuff in the wrong place.
>
> Attached patch should fix it.
>
Actually it should be installed in $ggzdconfdir which is provided by
AC_GGZ_SERVER (which isn't, but should be, called in configure).
Strangely though $ggzdconfdir defaults to $prefix/etc instead of to
$sysconfdir. Trying to get an explanation of that one from josef.
This patch does the initial fixes however (the ggz.m4 changes parallel
fixes already made in ggz).
-jason
Index: m4/ggz.m4
===
--- m4/ggz.m4 (revision 14077)
+++ m4/ggz.m4 (working copy)
@@ -999,6 +999,7 @@
AC_GGZ_GGZDMOD([ggz_server="yes"], [ggz_server="no"])
fi
if test "$ggz_server" = "yes"; then
+ AC_GGZ_SERVER
AC_DEFINE(GGZ_SERVER, 1, [Server support for GGZ])
else
if test "$try_ggz_server" = "yes"; then
Index: data/Makefile.am
===
--- data/Makefile.am (revision 14077)
+++ data/Makefile.am (working copy)
@@ -85,8 +85,8 @@
if GGZ_SERVER
ggzroom_DATA = civserver.room
-ggzroomdir = ${prefix}/etc/ggzd/rooms/
+ggzroomdir = ${ggzdconfdir}/rooms/
ggzgame_DATA = civserver.dsc
-ggzgamedir = ${prefix}/etc/ggzd/games/
+ggzgamedir = ${ggzdconfdir}/games/
endif
___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev