[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Senken-devel] Hello and patch
From: |
Matthew Crosby |
Subject: |
[Senken-devel] Hello and patch |
Date: |
Wed, 21 May 2003 14:50:33 -0400 |
User-agent: |
Mutt/1.4.1i |
Hello, Senken folks.
I've been having a look at this game, and it looks very promising. I'm
willing to help out if people have things that need doing.
Here's a quick patch to make --prefix work properly with configure (right
now it installs, but hardcodes /usr/local. While it's true the docs could
just suggest chaning utils.h, it's so easy to do this that this is my
suggestion
(Or would you prefer patches being uploaded to nongnu?)
---
diff -r senken-0.2.6/configure.in senken-0.2.6+/configure.in
19,21c19,20
< LOCALEDIR="${ac_default_prefix}/share/locale"
< AC_DEFINE_UNQUOTED(LOCALEDIR, "$LOCALEDIR",[Local dir])
<
---
> AC_DEFINE_UNQUOTED(DATADIR,"${prefix}/share/senken",[Data Dir])
> AC_DEFINE_UNQUOTED(LOCALEDIR,"${prefix}/share/locale",[Locale dir])
64d62
<
83a82
>
diff -r senken-0.2.6/lib/utils.h senken-0.2.6+/lib/utils.h
22a23,24
> #include <config.h>
>
60,61c62,63
< #define IMG_DIRECTORY "/usr/local/share/senken/img/"
< #define GAMES_DIRECTORY "/usr/local/share/senken/games/"
---
> #define IMG_DIRECTORY DATADIR"/img/"
> #define GAMES_DIRECTORY DATADIR"/games/"
- [Senken-devel] Hello and patch,
Matthew Crosby <=