openbsd-ports/news/leafnode/patches/patch-Makefile_in
2004-01-12 21:33:12 +00:00

20 lines
780 B
Plaintext

$OpenBSD: patch-Makefile_in,v 1.12 2004/01/12 21:33:12 sturm Exp $
--- Makefile.in.orig 2004-01-09 17:18:28.000000000 +0100
+++ Makefile.in 2004-01-12 18:38:27.000000000 +0100
@@ -1346,15 +1346,7 @@ install-data-hook: quickmkdir amiroot
set -e ; for i in . leaf.node failed.postings interesting.groups \
out.going message.id temp.files ; do \
mkdir -p $(DESTDIR)$(SPOOLDIR)/$$i ; \
- if ./amiroot ; then \
- chown news:news $(DESTDIR)$(SPOOLDIR)/$$i ; \
- chmod 2775 $(DESTDIR)$(SPOOLDIR)/$$i ; fi ; \
done
- d="`dirname $(DESTDIR)@LOCKFILE@`" ; mkdir -p "$${d}" && \
- if ./amiroot ; then \
- chown news:news "$${d}" ; \
- chmod 2775 "$${d}" ; fi
- ./quickmkdir $(DESTDIR)
uninstall-local:
rm -rf $(DESTDIR)$(SPOOLDIR) $(DESTDIR)@LOCKFILE@