1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-30 21:49:25 +00:00
freebsd-ports/games/angband/files/patch-aa
Matthew Hunt ac7b5b17c7 Install angband non-sgid, with the following side effects:
- Two directories are mode 1777; the user is alerted to
	  this during "make install".

	- High score reporting doesn't work, to avoid having a
	  world-writable file.

	- It is presumably possible for one user to prevent another
	  from playing by creating bogus savefiles in the mode 1777
	  directories.  Frankly, I'm not going to devote my time to
	  solving game-play DoS attacks.

Previously, certain files (lib/data) were generated the first time
angband was run.  These files are now obtained from my directory on
www.freebsd.org and are installed during "make install".

Several cleanups also, while I'm here.

This port is no longer BROKEN.
1999-12-02 19:19:03 +00:00

13 lines
327 B
Plaintext

--- Makefile.orig Thu Dec 2 10:13:33 1999
+++ Makefile Thu Dec 2 10:27:53 1999
@@ -0,0 +1,9 @@
+# My makefile for Angband
+# Matthew Hunt <mph@FreeBSD.org>
+
+CFLAGS+=-I${X11BASE}/include -D"USE_X11" -D"USE_GCU" -DDEFAULT_PATH=\\\"$(PREFIX)/lib/X11/angband\\\"
+
+all: angband
+
+angband:
+ cd src && make "CFLAGS=$(CFLAGS)"