aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authoralepulver <alepulver@FreeBSD.org>2007-09-28 07:19:48 +0800
committeralepulver <alepulver@FreeBSD.org>2007-09-28 07:19:48 +0800
commit7ba5fc9ee00a60c7b20dcbeb91d2b3da4d42615e (patch)
tree6c27da3b0915ea312b2d28e6de6991d086692030 /sysutils
parentfa6f22518f15e69e0a6300fd43f20c4a701f3453 (diff)
downloadfreebsd-ports-gnome-7ba5fc9ee00a60c7b20dcbeb91d2b3da4d42615e.tar.gz
freebsd-ports-gnome-7ba5fc9ee00a60c7b20dcbeb91d2b3da4d42615e.tar.zst
freebsd-ports-gnome-7ba5fc9ee00a60c7b20dcbeb91d2b3da4d42615e.zip
- Fix configuration directory (but take fix from puppet-devel which respects
PREFIX, instead of submitted patch). PR: ports/116007 Submitted by: Tomoyuki Sakurai <cherry@trombik.org> (maintainer)
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/puppet/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/sysutils/puppet/Makefile b/sysutils/puppet/Makefile
index 224e68b1b2ce..90bb392f0473 100644
--- a/sysutils/puppet/Makefile
+++ b/sysutils/puppet/Makefile
@@ -18,6 +18,7 @@ BUILD_DEPENDS= ${RUBY_SITELIBDIR}/facter.rb:${PORTSDIR}/sysutils/facter
RUN_DEPENDS= ${BUILD_DEPENDS}
CONFLICTS= puppet-devel-[0-9]*
+
NO_BUILD= yes
USE_RUBY= yes
USE_RC_SUBR= puppetmasterd puppetd
@@ -28,6 +29,8 @@ DOCS= CHANGELOG TODO README LICENSE COPYING
post-patch:
${RM} ${WRKSRC}/bin/*.orig || true
+ ${REINPLACE_CMD} -e "s|/etc/puppet|${PREFIX}/etc/puppet|" \
+ ${WRKSRC}/lib/puppet/configuration.rb
do-install:
cd ${WRKSRC} && \