From f54c3168eaa734f25906067d26044a3987ac6d5c Mon Sep 17 00:00:00 2001 From: koitsu Date: Mon, 15 Jan 2007 17:24:33 +0000 Subject: 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 --- games/nethack34/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'games/nethack34/Makefile') 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 -- cgit