summaryrefslogtreecommitdiff
path: root/games-fps/prboom-plus/files/prboom-plus-2.5.1.4-Remove-nonstandard-gamesdir-variable.patch
blob: c64bd135937d2baf10d8569582626b722d9a9edd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
From d0aaa51e05da23c2b0ad46901c2f4b3cd0500681 Mon Sep 17 00:00:00 2001
From: William Breathitt Gray <vilhelm.gray@gmail.com>
Date: Fri, 21 Jun 2019 17:31:01 +0900
Subject: [PATCH] Remove nonstandard gamesdir variable

The Autotools canonical method of configuring the program installation
directory is via the bindir variable (e.g. "--bindir=/usr/games/doom").
---
 src/Makefile.am | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/src/Makefile.am b/src/Makefile.am
index c20da98..9b3ab13 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -8,12 +8,10 @@
 
 SUBDIRS = SDL POSIX MAC PCSOUND TEXTSCREEN MUSIC   
 
-gamesdir=$(prefix)/games
-
 if BUILD_SERVER
-games_PROGRAMS = prboom-plus prboom-plus-game-server
+bin_PROGRAMS = prboom-plus prboom-plus-game-server
 else
-games_PROGRAMS = prboom-plus
+bin_PROGRAMS = prboom-plus
 endif
 
 CFLAGS = @CFLAGS@ @SDL_CFLAGS@
-- 
2.22.0