aboutsummaryrefslogtreecommitdiff
path: root/databases/puppetdb/files/patch-Rakefile
diff options
context:
space:
mode:
Diffstat (limited to 'databases/puppetdb/files/patch-Rakefile')
-rw-r--r--databases/puppetdb/files/patch-Rakefile49
1 files changed, 0 insertions, 49 deletions
diff --git a/databases/puppetdb/files/patch-Rakefile b/databases/puppetdb/files/patch-Rakefile
deleted file mode 100644
index cd259b4c24ba..000000000000
--- a/databases/puppetdb/files/patch-Rakefile
+++ /dev/null
@@ -1,49 +0,0 @@
---- ./Rakefile.orig 2014-07-07 17:37:05.000000000 +0000
-+++ ./Rakefile 2014-09-01 19:12:56.379106833 +0000
-@@ -80,29 +80,29 @@
- @java_bin = "/opt/puppet/bin/java"
- else
- @install_dir = case @osfamily
-- when /openbsd/
-- "/usr/local/share/puppetdb"
-+ when /openbsd/, /freebsd/
-+ "%%PREFIX%%/share/puppetdb"
- else
- "/usr/share/puppetdb"
- end
-- @etc_dir = "/etc/puppetdb"
-- @config_dir = "/etc/puppetdb/conf.d"
-- @lib_dir = "/var/lib/puppetdb"
-+ @etc_dir = "%%PREFIX%%/etc/puppetdb"
-+ @config_dir = "%%PREFIX%%/etc/puppetdb/conf.d"
-+ @lib_dir = "/var/db/puppetdb"
- @libexec_dir = case @osfamily
-- when /openbsd/
-+ when /openbsd/, /freebsd/
- "/usr/local/libexec/puppetdb"
- when /redhat/, /suse/, /darwin/, /bsd/
- "/usr/libexec/puppetdb"
- else
- "/usr/lib/puppetdb"
- end
-- @link = "/usr/share/puppetdb"
-+ @link = "%%PREFIX%%/share/puppetdb"
- @name = "puppetdb"
- @sbin_dir = case @osfamily
- when /archlinux/
- "/usr/bin"
- else
-- "/usr/sbin"
-+ "%%PREFIX%%/sbin"
- end
- end
-
-@@ -129,6 +129,8 @@
- @plibdir = @pe ? PE_SITELIBDIR : (%x(ruby -rrbconfig -e "puts RbConfig::CONFIG['sitelibdir']").chomp)
- when /openbsd/
- @plibdir = @pe ? PE_SITELIBDIR : '/usr/local/lib/ruby/site_ruby/1.9.1'
-+ when /freebsd/
-+ @plibdir = @pe ? PE_SITELIBDIR : Facter.value(:rubysitedir).chomp
- when /archlinux/
- @plibdir = @pe ? PE_SITELIBDIR : (%x(ruby -rrbconfig -e 'puts RbConfig::CONFIG["vendorlibdir"]').chomp)
- end