openbsd-ports/games/nethack/patches/patch-ad
1998-07-29 01:22:23 +00:00

40 lines
1.1 KiB
Plaintext

--- sys/unix/Makefile.top.orig Tue Dec 10 21:20:10 1996
+++ sys/unix/Makefile.top Fri Jul 24 15:21:39 1998
@@ -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}/lib/$(GAME)dir
+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)