summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorJeremy Chadwick <koitsu@FreeBSD.org>2007-01-15 17:24:33 +0000
committerJeremy Chadwick <koitsu@FreeBSD.org>2007-01-15 17:24:33 +0000
commitd5fb42b34ba0e18f0d668809ed6f529fb524971d (patch)
tree37aca744d26657455a6b7aa7c32603cf9c432b7e /games
parentReplace outdated master sites with new ones. (diff)
Details of previous commit:
* Add WITH_HPMON support - colourises hitpoints as they decrease. * Address issue where uninstalling with existing save games in place (PREFIX/lib/nethack/save/*) would result in a "Could not remove PREFIX/lib/nethack" error. Now echoes some useful comments to the user when failing to rmdir PREFIX/lib/nethack/save, and using @dirrmtry on the PREFIX/lib/nethack directory. Also added: * Reference MASTER_SITE_LOCAL for hpmon.diff, in the case the main patch site isn't available. PR: ports/107941 Approved by: philip
Notes
Notes: svn path=/head/; revision=182441
Diffstat (limited to 'games')
-rw-r--r--games/nethack34/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/games/nethack34/Makefile b/games/nethack34/Makefile
index 33085e81be17..59b6331da0f5 100644
--- a/games/nethack34/Makefile
+++ b/games/nethack34/Makefile
@@ -53,7 +53,8 @@ CFLAGS+= -DMENU_COLOR_REGEX_POSIX
.endif
.if defined(WITH_HPMON)
PATCHFILES+= hpmon.diff
-PATCH_SITES+= http://www.netsonic.fi/~walker/nh/
+PATCH_SITES+= http://www.netsonic.fi/~walker/nh/ \
+ ${MASTER_SITE_LOCAL:S|%SUBDIR%|koitsu|}
PATCH_DIST_STRIP= -p1
CFLAGS+= -DHPMON
.endif