$OpenBSD: patch-Makefile_in,v 1.1.1.1 2002/11/14 14:26:57 couderc Exp $
--- Makefile.in.orig	Mon Jul 29 17:08:55 2002
+++ Makefile.in	Wed Oct  9 16:45:34 2002
@@ -494,7 +494,7 @@ uninstall-man: uninstall-man1
 
 
 install-data-hook:
-	"${bindir}/update-mime-database" "${mimedir}"
+	"$(DESTDIR)/${bindir}/update-mime-database" "$(DESTDIR)${mimedir}"
 
 uninstall-hook:
 	for media in text application image audio inode video message model multipart; do rm -f "${mimedir}/$${media}/"*.xml; done
