diff options
Diffstat (limited to 'games/nethack32/files/patch-ag')
-rw-r--r-- | games/nethack32/files/patch-ag | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/games/nethack32/files/patch-ag b/games/nethack32/files/patch-ag new file mode 100644 index 000000000000..6fbe422824f3 --- /dev/null +++ b/games/nethack32/files/patch-ag @@ -0,0 +1,40 @@ +diff -ruN ./sys/unix/Makefile.top ../nethack-3.2.2/sys/unix/Makefile.top +--- ./sys/unix/Makefile.top Wed Dec 11 05:20:10 1996 ++++ ../nethack-3.2.2/sys/unix/Makefile.top Sun Mar 21 17:29:27 1999 +@@ -16,14 +16,14 @@ + # make NetHack + GAME = nethack + GAMEUID = games +-GAMEGRP = bin ++GAMEGRP = games + + # Permissions - some places use setgid instead of setuid, for instance + # See also the option "SECURE" in include/config.h +-GAMEPERM = 04755 +-FILEPERM = 0644 ++GAMEPERM = 02755 ++FILEPERM = 0664 + EXEPERM = 0755 +-DIRPERM = 0755 ++DIRPERM = 0775 + + # GAMEDIR also appears in config.h as "HACKDIR". + # +@@ -32,13 +32,13 @@ + # 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 = /usr/games/lib/$(GAME)dir +-SHELLDIR = /usr/games ++GAMEDIR = ${PREFIX}/share/$(GAME) ++SHELLDIR = ${PREFIX}/bin + + # per discussion in Install.X11 +-VARDATND = ++# VARDATND = + # VARDATND = x11tiles pet_mark.xbm +-# VARDATND = x11tiles pet_mark.xbm rip.xpm ++VARDATND = x11tiles pet_mark.xbm rip.xpm + + VARDATD = data oracles options quest.dat rumors + VARDAT = $(VARDATD) $(VARDATND) |