openbsd-ports/net/munin/patches/patch-Makefile
gonzalo a7d3be008d Update for munin to 2.0.10 with bugfix and installs perl-related manuals to
man3p category from kirby@ (maintainer)

ok kirby@ (maintainer)
2013-01-18 12:23:24 +00:00

57 lines
1.9 KiB
Plaintext

$OpenBSD: patch-Makefile,v 1.4 2013/01/18 12:23:24 gonzalo Exp $
--- Makefile.orig Wed Jan 9 19:46:54 2013
+++ Makefile Fri Jan 11 01:11:03 2013
@@ -72,7 +72,6 @@ install-pre: Makefile Makefile.config
mkdir -p $(STATEDIR)
mkdir -p $(SPOOLDIR)
mkdir -p $(CONFDIR)
- $(CHOWN) $(USER) $(LOGDIR) $(STATEDIR) $(SPOOLDIR)
install-master-prime: $(INFILES_MASTER) install-pre install-master
mkdir -p $(CONFDIR)/templates
@@ -84,15 +83,15 @@ install-master-prime: $(INFILES_MASTER) install-pre in
mkdir -p $(PERLLIB)
mkdir -p $(PERLLIB)/Munin/Master
mkdir -p $(HTMLDIR)
- mkdir -p $(DBDIR)
- mkdir -p $(DBDIR)/cgi-tmp
+# mkdir -p $(DBDIR)
+# mkdir -p $(DBDIR)/cgi-tmp
mkdir -p $(CGIDIR)
- $(CHOWN) $(USER) $(HTMLDIR) $(DBDIR)
- $(CHMOD) 0755 $(DBDIR)
+# $(CHOWN) $(USER) $(HTMLDIR) $(DBDIR)
+# $(CHMOD) 0755 $(DBDIR)
- $(CHOWN) $(CGIUSER) $(DBDIR)/cgi-tmp
- $(CHMOD) 0755 $(DBDIR)/cgi-tmp
+# $(CHOWN) $(CGIUSER) $(DBDIR)/cgi-tmp
+# $(CHMOD) 0755 $(DBDIR)/cgi-tmp
for p in master/www/*.tmpl ; do \
$(INSTALL) -m 0644 "$$p" $(CONFDIR)/templates/ ; \
@@ -142,10 +141,10 @@ install-plugins-prime: install-plugins build $(PLUGINS
mkdir -p $(CONFDIR)/plugins
mkdir -p $(CONFDIR)/plugin-conf.d
mkdir -p $(LIBDIR)/plugins
- mkdir -p $(PLUGSTATE)
+# mkdir -p $(PLUGSTATE)
- $(CHOWN) root:root $(PLUGSTATE)
- $(CHMOD) 0755 $(PLUGSTATE)
+# $(CHOWN) root:root $(PLUGSTATE)
+# $(CHMOD) 0755 $(PLUGSTATE)
$(CHMOD) 0755 $(CONFDIR)/plugin-conf.d
for p in build/plugins/node.d/* build/plugins/node.d.$(OSTYPE)/* ; do \
@@ -423,7 +422,7 @@ install-%: %/Build
--install_path script=$(BINDIR) \
--install_path sbin=$(SBINDIR) \
--install_path bindoc=$(MANDIR)/man1 \
- --install_path libdoc=$(MANDIR)/man3 \
+ --install_path libdoc=$(MANDIR)/man3p \
test-%: %/Build
cd $* && $(PERL) Build test --verbose=0 || true