$OpenBSD: patch-data_Makefile_in,v 1.4 2003/08/29 21:58:58 sturm Exp $
--- data/Makefile.in.orig	2002-10-02 08:26:47.000000000 +0200
+++ data/Makefile.in	2003-08-29 21:32:57.000000000 +0200
@@ -68,7 +68,7 @@ TK_HEADER = @TK_HEADER@
 VERSION = @VERSION@
 WISH = @WISH@
 
-pkgdata_DATA_noGENERATED = dal.tcl doc.tcl info.tcl fun.tcl global.tcl listfile.tcl mircservers.tcl newserver.tcl notify.tcl popups.tcl qwidgets.tcl server.tcl variables.tcl winpopup.tcl servers themes/default.tcl common/install.tcl
+pkgdata_DATA_noGENERATED = dal.tcl doc.tcl info.tcl fun.tcl global.tcl listfile.tcl mircservers.tcl newserver.tcl notify.tcl popups.tcl qwidgets.tcl server.tcl variables.tcl winpopup.tcl servers
 
 pkgdata_DATA = $(pkgdata_DATA_noGENERATED) VERSION quedit fontsel
 
@@ -206,9 +206,9 @@ maintainer-clean
 
 
 install-exec-local:
-	rm -rf $(pkgdatadir)
-	$(mkinstalldirs) $(pkgdatadir)/themes
-	$(mkinstalldirs) $(pkgdatadir)/common
+	rm -rf $(DESTDIR)$(pkgdatadir)
+	$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/themes
+	$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/common
 
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
