--- Makefile.in.orig	2020-08-27 19:13:31 UTC
+++ Makefile.in
@@ -10,7 +10,7 @@ mandir = @mandir@
 top_srcdir = @top_srcdir@
 srcdir = @srcdir@
 nmapdatadir = @datadir@/nmap
-deskdir = $(prefix)/share/applications
+deskdir = $(LOCALBASE)/share/applications
 NMAPDEVDIR=~/nmap-private-dev
 
 export NBASEDIR=@NBASEDIR@
