$OpenBSD: patch-data_Makefile_in,v 1.7 2010/06/15 16:20:42 landry Exp $
--- data/Makefile.in.orig	Tue Jan 13 08:23:10 2004
+++ data/Makefile.in	Tue Jun 15 18:14:35 2010
@@ -316,7 +316,7 @@ uninstall-am: uninstall-info-am uninstall-pkgdataDATA
 
 
 install-exec-local:
-	rm -rf $(pkgdatadir)
+	rm -rf $(DESTDIR)$(pkgdatadir)
 # 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.
 .NOEXPORT:
