aboutsummaryrefslogtreecommitdiff
path: root/sysutils/puppet4
diff options
context:
space:
mode:
authorZach Leslie <zleslie@FreeBSD.org>2017-10-06 16:15:59 +0000
committerZach Leslie <zleslie@FreeBSD.org>2017-10-06 16:15:59 +0000
commit6bffeb55e02dce00592294a5b1b51f650300c653 (patch)
treeb780a9c606724386576a06354a0a2de576111cee /sysutils/puppet4
parent2cfa16799acc132c327d0c7da89c685f380ebdeb (diff)
downloadports-6bffeb55e02dce00592294a5b1b51f650300c653.tar.gz
ports-6bffeb55e02dce00592294a5b1b51f650300c653.zip
Notes
Diffstat (limited to 'sysutils/puppet4')
-rw-r--r--sysutils/puppet4/Makefile1
-rw-r--r--sysutils/puppet4/files/patch-lib_puppet.rb11
2 files changed, 12 insertions, 0 deletions
diff --git a/sysutils/puppet4/Makefile b/sysutils/puppet4/Makefile
index 312d71e4fe71..0acc4789feb4 100644
--- a/sysutils/puppet4/Makefile
+++ b/sysutils/puppet4/Makefile
@@ -2,6 +2,7 @@
PORTNAME= puppet
PORTVERSION= 4.10.8
+PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://downloads.puppetlabs.com/puppet/
PKGNAMESUFFIX= 4
diff --git a/sysutils/puppet4/files/patch-lib_puppet.rb b/sysutils/puppet4/files/patch-lib_puppet.rb
new file mode 100644
index 000000000000..384f590866a2
--- /dev/null
+++ b/sysutils/puppet4/files/patch-lib_puppet.rb
@@ -0,0 +1,11 @@
+--- lib/puppet.rb.orig 2017-10-04 19:54:04.901540166 -0700
++++ lib/puppet.rb 2017-10-04 19:54:43.391840139 -0700
+@@ -29,7 +29,7 @@
+ require 'locale'
+
+ # e.g. ~/code/puppet/locales. Also when running as a gem.
+- local_locale_path = File.absolute_path('../locales', File.dirname(__FILE__))
++ local_locale_path = File.absolute_path('/var/puppet/share/locales', File.dirname(__FILE__))
+ # e.g. /opt/puppetlabs/puppet/share/locale
+ posix_system_locale_path = File.absolute_path('../../../share/locale', File.dirname(__FILE__))
+ # e.g. C:\Program Files\Puppet Labs\Puppet\puppet\share\locale