1 |
mr_bones_ 08/02/24 07:32:49 |
2 |
|
3 |
Added: ultimatestunts-0.7.4-paths.patch |
4 |
Log: |
5 |
version bump |
6 |
(Portage version: 2.1.4.4) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 games-sports/ultimatestunts/files/ultimatestunts-0.7.4-paths.patch |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-sports/ultimatestunts/files/ultimatestunts-0.7.4-paths.patch?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-sports/ultimatestunts/files/ultimatestunts-0.7.4-paths.patch?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: ultimatestunts-0.7.4-paths.patch |
15 |
=================================================================== |
16 |
--- configure.ac |
17 |
+++ configure.ac |
18 |
@@ -222,9 +222,9 @@ |
19 |
dnl ------------------ |
20 |
dnl The directory locations |
21 |
dnl ------------------ |
22 |
-usdatadir="${prefix}/share/ultimatestunts/" |
23 |
+usdatadir="${datadir}/ultimatestunts/" |
24 |
|
25 |
-AC_DEFINE_UNQUOTED([PREFIXDIR], ["$prefix"], [Prefix dir]) |
26 |
+AC_DEFINE_UNQUOTED([PREFIXDIR], ["$sysconfdir"], [Prefix dir]) |
27 |
|
28 |
AC_SUBST(netlibs) |
29 |
AC_SUBST(soundlibs) |
30 |
--- data/Makefile.am |
31 |
+++ data/Makefile.am |
32 |
@@ -1,4 +1,4 @@ |
33 |
-usdatadir=@usdatadir@ |
34 |
+usdatadir=$(DESTDIR)/@usdatadir@ |
35 |
|
36 |
install: |
37 |
$(mkinstalldirs) ${usdatadir} |
38 |
--- shared/usmisc.cpp |
39 |
+++ shared/usmisc.cpp |
40 |
@@ -42,7 +42,7 @@ |
41 |
printf("prefix = %s\n", prefixdir.c_str()); |
42 |
|
43 |
std::vector<CString> locations; |
44 |
- locations.push_back(prefixdir + "/etc/ultimatestunts.conf"); |
45 |
+ locations.push_back(prefixdir + "/ultimatestunts.conf"); |
46 |
locations.push_back("/etc/ultimatestunts.conf"); |
47 |
locations.push_back("/usr/local/etc/ultimatestunts.conf"); |
48 |
locations.push_back("./ultimatestunts.conf"); |
49 |
|
50 |
|
51 |
|
52 |
-- |
53 |
gentoo-commits@l.g.o mailing list |