From 4e7e771d9e0ed570559364c8ec30c1928e311632 Mon Sep 17 00:00:00 2001 From: Cheng-Lung Sung Date: Sat, 5 Mar 2011 01:48:11 +0000 Subject: [PATCH] - The %%RC_SUBR%% variable in the rc script source files/chef_client.in isn't getting replaced by default. Rather than adding this variable to SUB_LIST, it makes more sense to explicitly replace it in the source file itself. This is done in numerous other rc script source files as well as in the example in the Porter's Handbook. - bump PORTREVISION PR: ports/155279 Submitted by: Dimitri Aivaliotis Approved by: maintainer (Renaud Chaput) --- sysutils/rubygem-chef/Makefile | 1 + sysutils/rubygem-chef/files/chef_client.in | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/sysutils/rubygem-chef/Makefile b/sysutils/rubygem-chef/Makefile index 88a987c8708f..9c9cbfee2536 100644 --- a/sysutils/rubygem-chef/Makefile +++ b/sysutils/rubygem-chef/Makefile @@ -7,6 +7,7 @@ PORTNAME= chef PORTVERSION= 0.9.12 +PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= RG diff --git a/sysutils/rubygem-chef/files/chef_client.in b/sysutils/rubygem-chef/files/chef_client.in index 2991fa131b14..924b666cb119 100644 --- a/sysutils/rubygem-chef/files/chef_client.in +++ b/sysutils/rubygem-chef/files/chef_client.in @@ -12,7 +12,7 @@ # # chef_client_enable="YES" -. %%RC_SUBR%% +. /etc/rc.subr name="chef_client" rcvar=`set_rcvar`