summaryrefslogtreecommitdiff
path: root/games/angband/Fix_DESTDIR_support.patch
diff options
context:
space:
mode:
authorDavid Melik <dchmelik@gmail.com>2012-08-10 17:50:07 -0500
committerRobby Workman <rworkman@slackbuilds.org>2012-08-10 17:50:07 -0500
commitbc377ed0305dd8ec00016661a3ec29af91fee9fc (patch)
tree01e3e8c6c5f3dccb5a8ac836eda1471b403c12bc /games/angband/Fix_DESTDIR_support.patch
parent918b8900197fc3b3fb82874bea8ffc875f6f73fb (diff)
downloadslackbuilds-bc377ed0305dd8ec00016661a3ec29af91fee9fc.tar.gz
games/angband: Updated for version 3.3.2 (+ new maintainer)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'games/angband/Fix_DESTDIR_support.patch')
-rw-r--r--games/angband/Fix_DESTDIR_support.patch93
1 files changed, 0 insertions, 93 deletions
diff --git a/games/angband/Fix_DESTDIR_support.patch b/games/angband/Fix_DESTDIR_support.patch
deleted file mode 100644
index 51cc9433f7..0000000000
--- a/games/angband/Fix_DESTDIR_support.patch
+++ /dev/null
@@ -1,93 +0,0 @@
-Trivial patch by Robby Workman <rworkman@slackware.com>
-This simply fixes the install-posthook files to respect DESTDIR settings
-instead of trying to write to the real / filesystem. This will only be
-noticed if you enable setgid functionality...
-
-diff -Nur angband-3.1.0beta.orig/lib/apex/Makefile angband-3.1.0beta/lib/apex/Makefile
---- angband-3.1.0beta.orig/lib/apex/Makefile 2008-05-17 08:08:23.000000000 -0500
-+++ angband-3.1.0beta/lib/apex/Makefile 2009-03-23 00:05:28.102772735 -0500
-@@ -6,10 +6,10 @@
-
- install-posthook:
- if [ "x$(SETEGID)" != "x" ]; then \
-- printf "%10s %-20s\n" TOUCH ${DATA_PATH}/apex/scores.raw; \
-+ printf "%10s %-20s\n" TOUCH $(DESTDIR)${DATA_PATH}/apex/scores.raw; \
- if [ "x$(DRY)" = "x" ]; then \
-- touch ${DATA_PATH}/apex/scores.raw; \
-- chown -R root:${SETEGID} ${DATA_PATH}/apex; \
-- chmod -R g+w ${DATA_PATH}/apex; \
-+ touch $(DESTDIR)${DATA_PATH}/apex/scores.raw; \
-+ chown -R root:${SETEGID} $(DESTDIR)${DATA_PATH}/apex; \
-+ chmod -R g+w $(DESTDIR)${DATA_PATH}/apex; \
- fi; \
- fi;
-diff -Nur angband-3.1.0beta.orig/lib/bone/Makefile angband-3.1.0beta/lib/bone/Makefile
---- angband-3.1.0beta.orig/lib/bone/Makefile 2008-05-17 08:08:23.000000000 -0500
-+++ angband-3.1.0beta/lib/bone/Makefile 2009-03-23 00:05:36.083328120 -0500
-@@ -7,7 +7,7 @@
- install-posthook:
- if [ "x$(SETEGID)" != "x" ]; then \
- if [ "x$(DRY)" = "x" ]; then \
-- chown root:${SETEGID} ${DATA_PATH}/bone; \
-- chmod 070 ${DATA_PATH}/bone; \
-+ chown root:${SETEGID} $(DESTDIR)${DATA_PATH}/bone; \
-+ chmod 070 $(DESTDIR)${DATA_PATH}/bone; \
- fi; \
- fi
-diff -Nur angband-3.1.0beta.orig/lib/data/Makefile angband-3.1.0beta/lib/data/Makefile
---- angband-3.1.0beta.orig/lib/data/Makefile 2008-06-02 12:36:12.000000000 -0500
-+++ angband-3.1.0beta/lib/data/Makefile 2009-03-23 00:05:43.223826793 -0500
-@@ -9,23 +9,23 @@
-
- install-posthook:
- if [ "x$(SETEGID)" != "x" ]; then \
-- printf "%10s %s*.raw\n" TOUCH ${DATA_PATH}/data/; \
-+ printf "%10s %s*.raw\n" TOUCH $(DESTDIR)${DATA_PATH}/data/; \
- if [ "x$(DRY)" = "x" ]; then \
-- touch ${DATA_PATH}/data/artifact.raw; \
-- touch ${DATA_PATH}/data/ego_item.raw; \
-- touch ${DATA_PATH}/data/flavor.raw; \
-- touch ${DATA_PATH}/data/limits.raw; \
-- touch ${DATA_PATH}/data/monster.raw; \
-- touch ${DATA_PATH}/data/object.raw; \
-- touch ${DATA_PATH}/data/p_class.raw; \
-- touch ${DATA_PATH}/data/p_hist.raw; \
-- touch ${DATA_PATH}/data/p_race.raw; \
-- touch ${DATA_PATH}/data/prices.raw; \
-- touch ${DATA_PATH}/data/shop_own.raw; \
-- touch ${DATA_PATH}/data/spells.raw; \
-- touch ${DATA_PATH}/data/terrain.raw; \
-- touch ${DATA_PATH}/data/vault.raw; \
-- chown -R root:${SETEGID} ${DATA_PATH}/data; \
-- chmod -R g+w ${DATA_PATH}/data; \
-+ touch $(DESTDIR)${DATA_PATH}/data/artifact.raw; \
-+ touch $(DESTDIR)${DATA_PATH}/data/ego_item.raw; \
-+ touch $(DESTDIR)${DATA_PATH}/data/flavor.raw; \
-+ touch $(DESTDIR)${DATA_PATH}/data/limits.raw; \
-+ touch $(DESTDIR)${DATA_PATH}/data/monster.raw; \
-+ touch $(DESTDIR)${DATA_PATH}/data/object.raw; \
-+ touch $(DESTDIR)${DATA_PATH}/data/p_class.raw; \
-+ touch $(DESTDIR)${DATA_PATH}/data/p_hist.raw; \
-+ touch $(DESTDIR)${DATA_PATH}/data/p_race.raw; \
-+ touch $(DESTDIR)${DATA_PATH}/data/prices.raw; \
-+ touch $(DESTDIR)${DATA_PATH}/data/shop_own.raw; \
-+ touch $(DESTDIR)${DATA_PATH}/data/spells.raw; \
-+ touch $(DESTDIR)${DATA_PATH}/data/terrain.raw; \
-+ touch $(DESTDIR)${DATA_PATH}/data/vault.raw; \
-+ chown -R root:${SETEGID} $(DESTDIR)${DATA_PATH}/data; \
-+ chmod -R g+w $(DESTDIR)${DATA_PATH}/data; \
- fi; \
- fi
-diff -Nur angband-3.1.0beta.orig/lib/save/Makefile angband-3.1.0beta/lib/save/Makefile
---- angband-3.1.0beta.orig/lib/save/Makefile 2008-05-17 08:08:23.000000000 -0500
-+++ angband-3.1.0beta/lib/save/Makefile 2009-03-23 00:06:04.161286215 -0500
-@@ -7,7 +7,7 @@
- install-posthook:
- if [ "x$(SETEGID)" != "x" ]; then \
- if [ "x$(DRY)" = "x" ]; then \
-- chown root:${SETEGID} ${DATA_PATH}/save; \
-- chmod 070 ${DATA_PATH}/save; \
-+ chown root:${SETEGID} $(DESTDIR)${DATA_PATH}/save; \
-+ chmod 070 $(DESTDIR)${DATA_PATH}/save; \
- fi; \
- fi