diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2008-02-24 07:32:49 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2008-02-24 07:32:49 +0000 |
commit | f96ebad76d59c67c5597d3606f9ee51d78270d82 (patch) | |
tree | 4e9b76ceb48dcab0d376fa29484f20eedee234b5 /games-sports/ultimatestunts/files | |
parent | version bump (diff) | |
download | gentoo-2-f96ebad76d59c67c5597d3606f9ee51d78270d82.tar.gz gentoo-2-f96ebad76d59c67c5597d3606f9ee51d78270d82.tar.bz2 gentoo-2-f96ebad76d59c67c5597d3606f9ee51d78270d82.zip |
version bump
(Portage version: 2.1.4.4)
Diffstat (limited to 'games-sports/ultimatestunts/files')
-rw-r--r-- | games-sports/ultimatestunts/files/ultimatestunts-0.7.4-paths.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/games-sports/ultimatestunts/files/ultimatestunts-0.7.4-paths.patch b/games-sports/ultimatestunts/files/ultimatestunts-0.7.4-paths.patch new file mode 100644 index 000000000000..848b12be083a --- /dev/null +++ b/games-sports/ultimatestunts/files/ultimatestunts-0.7.4-paths.patch @@ -0,0 +1,33 @@ +--- configure.ac ++++ configure.ac +@@ -222,9 +222,9 @@ + dnl ------------------ + dnl The directory locations + dnl ------------------ +-usdatadir="${prefix}/share/ultimatestunts/" ++usdatadir="${datadir}/ultimatestunts/" + +-AC_DEFINE_UNQUOTED([PREFIXDIR], ["$prefix"], [Prefix dir]) ++AC_DEFINE_UNQUOTED([PREFIXDIR], ["$sysconfdir"], [Prefix dir]) + + AC_SUBST(netlibs) + AC_SUBST(soundlibs) +--- data/Makefile.am ++++ data/Makefile.am +@@ -1,4 +1,4 @@ +-usdatadir=@usdatadir@ ++usdatadir=$(DESTDIR)/@usdatadir@ + + install: + $(mkinstalldirs) ${usdatadir} +--- shared/usmisc.cpp ++++ shared/usmisc.cpp +@@ -42,7 +42,7 @@ + printf("prefix = %s\n", prefixdir.c_str()); + + std::vector<CString> locations; +- locations.push_back(prefixdir + "/etc/ultimatestunts.conf"); ++ locations.push_back(prefixdir + "/ultimatestunts.conf"); + locations.push_back("/etc/ultimatestunts.conf"); + locations.push_back("/usr/local/etc/ultimatestunts.conf"); + locations.push_back("./ultimatestunts.conf"); |