components/nethack/patches/make.patch
author Rich Burridge <rich.burridge@oracle.com>
Wed, 27 Jul 2016 07:25:34 -0700
changeset 6486 6b8a8d70cef6
parent 5859 98bc99958997
permissions -rw-r--r--
24321843 Update nano to version 2.6.1

The makefiles don't really allow for a proto-area-style install; this
tweak, plus the bits in files/solaris, let this happen correctly.

--- sys/unix/Makefile.top	2015-11-18 12:54:59.000000000 -0800
+++ sys/unix/Makefile.top	2016-04-14 16:37:08.807692850 -0700
@@ -206,7 +206,7 @@
 	cp util/recover $(INSTDIR)
 	-if test -n '$(SHELLDIR)'; then rm -f $(SHELLDIR)/$(GAME); fi
 	if test -n '$(SHELLDIR)'; then \
-		sed -e 's;/usr/games/lib/nethackdir;$(HACKDIR);' \
+		sed -e 's;/usr/games/lib/nethackdir;$(CLIENT_HACKDIR);' \
 		-e 's;HACKDIR/nethack;HACKDIR/$(GAME);' \
 		< sys/unix/nethack.sh \
 		> $(SHELLDIR)/$(GAME) ; fi