Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2006:
[Freeciv-Dev] (PR#19790) SVN (Revision 12277): FREECIV_PATH defaults inc
Home

[Freeciv-Dev] (PR#19790) SVN (Revision 12277): FREECIV_PATH defaults inc

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: [Freeciv-Dev] (PR#19790) SVN (Revision 12277): FREECIV_PATH defaults incorrect, "prefix" variable doesn't expand
From: "Slash" <demodevil@xxxxxxxxx>
Date: Sat, 19 Aug 2006 11:35:54 -0700
Reply-to: bugs@xxxxxxxxxxx

<URL: http://bugs.freeciv.org/Ticket/Display.html?id=19790 >

Hello,

I am making a package for a distribution for the SVN version of
freeciv. Within the build file for the package, I am using options,
like this:

./autogen.sh
./configure --prefix=/usr
make
make DESTDIR=$startdir/pkg/ install

The DESTDIR isn't really important, but that's the temporary directory
the package is built from.

Upon running the client with debug=3:

3: Data path component (0): .
3: Data path component (1): data
3: Data path component (2): /home/slash/.freeciv
3: Data path component (3): ${prefix}/share/freeciv

It cannot find any freeciv data, unless the freeciv path is set
manually. For some reason it does not expand the ${prefix} variable at
compile time.

Using the stable version (2.0.8), it behaves as expected, like this:

3: Data path component (0): .
3: Data path component (1): data
3: Data path component (2): /home/slash/.freeciv
3: Data path component (3): /usr/share/freeciv

I'm not sure which SVN revision this change happened in, I haven't
updated in a very long time previous to this.

Thanks for your efforts,

Slash





[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#19790) SVN (Revision 12277): FREECIV_PATH defaults incorrect, "prefix" variable doesn't expand, Slash <=