patch-Makefile 976 B

12345678910111213141516171819202122232425262728
  1. $OpenBSD: patch-Makefile,v 1.1.1.1 2016/06/01 12:11:13 jasper Exp $
  2. --- Makefile.orig Thu Mar 17 05:17:10 2016
  3. +++ Makefile Thu Apr 28 14:35:20 2016
  4. @@ -1,9 +1,9 @@
  5. -prefix = /usr/local
  6. -datadir = $(prefix)/share
  7. -confdir = /etc
  8. -rubylibdir = $(shell ruby -rrbconfig -e "puts RbConfig::CONFIG['sitelibdir']")
  9. -rundir = /var/run
  10. -bindir = /usr/bin
  11. +prefix ?= /usr/local
  12. +datadir ?= $(prefix)/share
  13. +confdir ?= /etc
  14. +rubylibdir ?= $(shell ruby -rrbconfig -e "puts RbConfig::CONFIG['sitelibdir']")
  15. +rundir ?= /var/run
  16. +bindir ?= /usr/bin
  17. install-puppetdb:
  18. install -d -m 0755 "$(DESTDIR)$(datadir)/puppetdb"
  19. @@ -29,7 +29,6 @@ install-puppetdb:
  20. install -m 0755 ext/cli/foreground "$(DESTDIR)$(datadir)/puppetdb/cli/apps/foreground"
  21. install -m 0755 ext/cli/anonymize "$(DESTDIR)$(datadir)/puppetdb/cli/apps/anonymize"
  22. install -m 0755 ext/cli/import "$(DESTDIR)$(datadir)/puppetdb/cli/apps/import"
  23. - install -d -m 0755 "$(DESTDIR)$(rundir)"
  24. install-puppetdb-termini: