$OpenBSD: patch-Makefile_in,v 1.2 2003/06/22 14:07:21 sturm Exp $
--- Makefile.in.orig	Mon Jul  2 21:37:32 2001
+++ Makefile.in	Sun Jul 15 20:42:16 2001
@@ -374,7 +374,7 @@ install-data-hook:
 	else \
 	  touch $(DESTDIR)$(cachedir)/pdnsd.cache; \
 	fi
-	if test `whoami` = "root"; then \
+	if test `userinfo -e _pdnsd`; then \
 	  chown $(def_id) $(DESTDIR)$(cachedir)/pdnsd.cache; \
 	  chown $(def_id) $(DESTDIR)$(cachedir); \
 	fi
