View | Details | Raw Unified | Return to bug 212247 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (+1 lines)
Lines 3-8 Link Here
3
3
4
PORTNAME=	zdoom
4
PORTNAME=	zdoom
5
PORTVERSION=	2.8.1
5
PORTVERSION=	2.8.1
6
PORTREVISION=	1
6
CATEGORIES=	games
7
CATEGORIES=	games
7
8
8
MAINTAINER=	bsdports@kyle-evans.net
9
MAINTAINER=	bsdports@kyle-evans.net
(-)files/patch-src_gameconfigfile.cpp (+20 lines)
Line 0 Link Here
1
--- src/gameconfigfile.cpp.orig	2016-08-29 19:15:32 UTC
2
+++ src/gameconfigfile.cpp
3
@@ -137,7 +137,9 @@ FGameConfigFile::FGameConfigFile ()
4
 		// Debian likes them in /usr/share/games/doom
5
 		// I assume other distributions don't do anything radically different
6
 		SetValueForKey ("Path", "/usr/local/share/doom", true);
7
+		SetValueForKey ("Path", "/usr/local/share/" GAMENAMELOWERCASE, true);
8
 		SetValueForKey ("Path", "/usr/local/share/games/doom", true);
9
+		SetValueForKey ("Path", "/usr/local/share/games/" GAMENAMELOWERCASE, true);
10
 		SetValueForKey ("Path", "/usr/share/doom", true);
11
 		SetValueForKey ("Path", "/usr/share/games/doom", true);
12
 #endif
13
@@ -157,6 +159,7 @@ FGameConfigFile::FGameConfigFile ()
14
 #else
15
 		SetValueForKey ("Path", "~/" GAME_DIR, true);
16
 		SetValueForKey ("Path", SHARE_DIR, true);
17
+		SetValueForKey ("Path", SHARE_DIR GAMENAMELOWERCASE, true);
18
 #endif
19
 		SetValueForKey ("Path", "$DOOMWADDIR", true);
20
 	}

Return to bug 212247