components/nethack/patches/make.patch
changeset 5859 98bc99958997
equal deleted inserted replaced
5858:74ec1e7d5b4b 5859:98bc99958997
       
     1 The makefiles don't really allow for a proto-area-style install; this
       
     2 tweak, plus the bits in files/solaris, let this happen correctly.
       
     3 
       
     4 --- sys/unix/Makefile.top	2015-11-18 12:54:59.000000000 -0800
       
     5 +++ sys/unix/Makefile.top	2016-04-14 16:37:08.807692850 -0700
       
     6 @@ -206,7 +206,7 @@
       
     7  	cp util/recover $(INSTDIR)
       
     8  	-if test -n '$(SHELLDIR)'; then rm -f $(SHELLDIR)/$(GAME); fi
       
     9  	if test -n '$(SHELLDIR)'; then \
       
    10 -		sed -e 's;/usr/games/lib/nethackdir;$(HACKDIR);' \
       
    11 +		sed -e 's;/usr/games/lib/nethackdir;$(CLIENT_HACKDIR);' \
       
    12  		-e 's;HACKDIR/nethack;HACKDIR/$(GAME);' \
       
    13  		< sys/unix/nethack.sh \
       
    14  		> $(SHELLDIR)/$(GAME) ; fi