diff options
Diffstat (limited to 'games/yadex/files')
-rw-r--r-- | games/yadex/files/patch-GNUmakefile | 23 | ||||
-rw-r--r-- | games/yadex/files/patch-cfgfile.cc | 15 | ||||
-rw-r--r-- | games/yadex/files/patch-game.cc | 15 | ||||
-rw-r--r-- | games/yadex/files/patch-wads2.cc | 15 | ||||
-rw-r--r-- | games/yadex/files/patch-yadex.cfg | 29 |
5 files changed, 97 insertions, 0 deletions
diff --git a/games/yadex/files/patch-GNUmakefile b/games/yadex/files/patch-GNUmakefile new file mode 100644 index 000000000000..62b74ed8b847 --- /dev/null +++ b/games/yadex/files/patch-GNUmakefile @@ -0,0 +1,23 @@ +--- GNUmakefile.orig Tue Dec 12 16:49:00 2000 ++++ GNUmakefile Sun Jun 17 22:43:27 2001 +@@ -22,7 +22,10 @@ + + # Where you want "make install" to put things. + # Typical values : "/usr", "/usr/local" and "/opt". +-PREFIX = /usr/local ++PREFIX?= /usr/local ++ ++# Make a PREFIX def available to the source ++DEFINES += -DPREFIX=\"$(PREFIX)\" + + # Which OS ? + OS := $(shell uname -s | tr A-Z a-z) +@@ -352,7 +355,7 @@ + else + INST_CFGDIR = $(PREFIX)/etc/yadex/$(VERSION) + endif +-INST_YGDDIR = $(PREFIX)/share/games/yadex/$(VERSION) ++INST_YGDDIR = $(PREFIX)/share/yadex/$(VERSION) + ifdef FHS_MAN + INST_MANDIR = $(PREFIX)/share/man/man6 + else diff --git a/games/yadex/files/patch-cfgfile.cc b/games/yadex/files/patch-cfgfile.cc new file mode 100644 index 000000000000..66b0acfbd727 --- /dev/null +++ b/games/yadex/files/patch-cfgfile.cc @@ -0,0 +1,15 @@ +--- src/cfgfile.cc.orig Sat Aug 26 13:21:12 2000 ++++ src/cfgfile.cc Sun Jun 17 20:33:08 2001 +@@ -572,10 +572,8 @@ + "~/.yadex/%v/%b", + "~/.yadex/%b", + "%i/%b", +- "/usr/local/etc/yadex/%v/%b", +- "/usr/local/etc/yadex/%b", +- "/etc/yadex/%v/%b", +- "/etc/yadex/%b", ++ PREFIX "/etc/yadex/%v/%b", ++ PREFIX "/etc/yadex/%b", + 0 + }; + diff --git a/games/yadex/files/patch-game.cc b/games/yadex/files/patch-game.cc new file mode 100644 index 000000000000..ef2285b3f69b --- /dev/null +++ b/games/yadex/files/patch-game.cc @@ -0,0 +1,15 @@ +--- src/game.cc.orig Wed May 10 15:01:58 2000 ++++ src/game.cc Sun Jun 17 20:42:48 2001 +@@ -42,10 +42,8 @@ + "./%b", + "~/.yadex/%v/%b", + "%i/%b", +- "/usr/local/share/games/yadex/%v/%b", +- "/usr/share/games/yadex/%v/%b", +- "/usr/local/share/games/yadex/%b", +- "/usr/share/games/yadex/%b", ++ PREFIX "/share/yadex/%v/%b", ++ PREFIX "/share/yadex/%b", + 0 + }; + diff --git a/games/yadex/files/patch-wads2.cc b/games/yadex/files/patch-wads2.cc new file mode 100644 index 000000000000..e34da6f5f6b6 --- /dev/null +++ b/games/yadex/files/patch-wads2.cc @@ -0,0 +1,15 @@ +--- src/wads2.cc.orig Sun May 7 05:47:11 2000 ++++ src/wads2.cc Sun Jun 17 20:46:41 2001 +@@ -910,10 +910,8 @@ + { + "", + "~/", // "~" means "the user's home directory" +- "/usr/local/share/games/%s/", // %s is replaced by <Game> +- "/usr/share/games/%s/", // %s is replaced by <Game> +- "/usr/local/share/games/wads/", +- "/usr/share/games/wads/", ++ "~/doom/", // several doom variants put wads here ++ PREFIX "/share/%s/", // %s is replaced by <Game> + 0 + }; + diff --git a/games/yadex/files/patch-yadex.cfg b/games/yadex/files/patch-yadex.cfg new file mode 100644 index 000000000000..282b9a9e6228 --- /dev/null +++ b/games/yadex/files/patch-yadex.cfg @@ -0,0 +1,29 @@ +--- yadex.cfg.orig Sat Aug 26 13:20:26 2000 ++++ yadex.cfg Sun Jun 17 20:54:36 2001 +@@ -20,16 +20,16 @@ + # 9 doompr Doom press release pre-beta (/pub/idgames/historic/doomprbt.zip) + # 10 strife10 Strife 1.0 (demo or commercial) + +- iwad1 = /usr/local/share/games/doom/doom.wad +- iwad2 = /usr/local/share/games/doom2/doom2.wad +- iwad3 = /usr/local/share/games/heretic/heretic.wad +- iwad4 = /usr/local/share/games/hexen/hexen.wad +- iwad5 = /usr/local/share/games/strife/strife1.wad +- iwad6 = /usr/local/share/games/doom02/doom.wad +- iwad7 = /usr/local/share/games/doom04/doom.wad +- iwad8 = /usr/local/share/games/doom05/doom.wad +- iwad9 = /usr/local/share/games/doompr/doompres.wad +- iwad10 = /usr/local/share/games/strife10/strife1.wad ++ iwad1 = /usr/local/share/doom/doom.wad ++ iwad2 = /usr/local/share/doom/doom2.wad ++ iwad3 = /usr/local/share/heretic/heretic.wad ++ iwad4 = /usr/local/share/hexen/hexen.wad ++ iwad5 = /usr/local/share/strife/strife1.wad ++ iwad6 = /usr/local/share/doom02/doom.wad ++ iwad7 = /usr/local/share/doom04/doom.wad ++ iwad8 = /usr/local/share/doom05/doom.wad ++ iwad9 = /usr/local/share/doompr/doompres.wad ++ iwad10 = /usr/local/share/strife10/strife1.wad + + # Name of the patch wads you want to load. None by default. + |