openbsd-ports/net/pdnsd/patches/patch-Makefile_in
gonzalo 5f7af543b0 Update for pdnsd to 1.2.9a-par, new version fixing a problem with the
flag --enable-strict-rfc2181 we use by default, and unbreak rc script.

While here, GROFF is not needed, and update the web. Tested on i386 and amd64.

Ok aja@ and test from Brad.
2012-06-21 14:40:40 +00:00

23 lines
717 B
Plaintext

$OpenBSD: patch-Makefile_in,v 1.6 2012/06/21 14:40:40 gonzalo Exp $
--- Makefile.in.orig Fri Mar 2 13:16:52 2012
+++ Makefile.in Fri Mar 2 13:18:22 2012
@@ -626,7 +626,8 @@ info-am:
install-data-am:
@$(NORMAL_INSTALL)
- $(MAKE) $(AM_MAKEFLAGS) install-data-hook
+ $(MAKE) $(AM_MAKEFLAGS)
+
install-dvi: install-dvi-recursive
install-dvi-am:
@@ -699,7 +700,7 @@ install-data-hook:
$(mkinstalldirs) "$(DESTDIR)$(cachedir)"
test -f "$(DESTDIR)$(cachedir)/pdnsd.cache" || \
touch "$(DESTDIR)$(cachedir)/pdnsd.cache"
- if test `whoami` = "root"; then \
+ if test `userinfo -e _pdnsd`; then \
chown $(def_id) "$(DESTDIR)$(cachedir)/pdnsd.cache"; \
chown $(def_id) "$(DESTDIR)$(cachedir)"; \
fi