summaryrefslogtreecommitdiff
path: root/games/nethack33-nox11/files/patch-ad
blob: 3eb00f18986c64344833e0bc11226a48055ebf3d (plain) (blame)
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
*** sys/unix/Makefile.top.orig	Mon Jul  3 17:42:05 2000
--- sys/unix/Makefile.top	Sat Sep 23 01:14:48 2000
***************
*** 14,31 ****
  # MAKE = make
  
  # make NetHack
- PREFIX	 = /usr
  GAME     = nethack
  # GAME     = nethack.prg
  GAMEUID  = games
! GAMEGRP  = bin
  
  # Permissions - some places use setgid instead of setuid, for instance
  # See also the option "SECURE" in include/config.h
! GAMEPERM = 04755
! FILEPERM = 0644
  EXEPERM  = 0755
! DIRPERM  = 0755
  
  # GAMEDIR also appears in config.h as "HACKDIR".
  # VARDIR may also appear in unixconf.h as "VAR_PLAYGROUND" else GAMEDIR
--- 14,30 ----
  # MAKE = make
  
  # make NetHack
  GAME     = nethack
  # GAME     = nethack.prg
  GAMEUID  = games
! GAMEGRP  = games
  
  # Permissions - some places use setgid instead of setuid, for instance
  # See also the option "SECURE" in include/config.h
! GAMEPERM = 02755
! FILEPERM = 0664
  EXEPERM  = 0755
! DIRPERM  = 0775
  
  # GAMEDIR also appears in config.h as "HACKDIR".
  # VARDIR may also appear in unixconf.h as "VAR_PLAYGROUND" else GAMEDIR
***************
*** 35,43 ****
  # therefore there should not be anything in GAMEDIR that you want to keep
  # (if there is, you'll have to do the installation by hand or modify the
  # instructions)
! GAMEDIR  = $(PREFIX)/games/lib/$(GAME)dir
  VARDIR  = $(GAMEDIR)
! SHELLDIR = $(PREFIX)/games
  
  # per discussion in Install.X11 and Install.Qt
  VARDATND = 
--- 34,42 ----
  # therefore there should not be anything in GAMEDIR that you want to keep
  # (if there is, you'll have to do the installation by hand or modify the
  # instructions)
! GAMEDIR  = $(PREFIX)/share/$(GAME)
  VARDIR  = $(GAMEDIR)
! SHELLDIR = $(PREFIX)/bin
  
  # per discussion in Install.X11 and Install.Qt
  VARDATND =