From 070b0213fb15c8c8b382c2f51155296da7ada6a6 Mon Sep 17 00:00:00 2001 From: Nagy Karoly Gabriel Date: Wed, 14 Dec 2011 22:21:44 +0100 Subject: [PATCH] tengine: adapted to use the --sbin-path confopt instead of an install wrapper filter. --- network/tengine/tengine.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/network/tengine/tengine.conf b/network/tengine/tengine.conf index b5a9f48c7..127afff27 100644 --- a/network/tengine/tengine.conf +++ b/network/tengine/tengine.conf @@ -24,6 +24,8 @@ confopt="--prefix=/$prefix" [[ "$sysconfdir" = */$pkg ]] || sysconfdir=$sysconfdir/$pkg var_append confopt ' ' "--conf-path=$sysconfdir/tengine.conf" +# set binary name to tengine instead of nginx +var_append confopt ' ' "--sbin-path=$sbindir/tengine" # set path to nginx.pid file var_append confopt ' ' "--pid-path=$localstatedir/run/tengine.pid" # set path to nginx.lock file @@ -81,7 +83,6 @@ if atstage cross; then fi var_append CC_WRAPPER_REMOVE " " "-Werror" -var_append INSTALL_WRAPPER_FILTER "|" "sed 's,sbin/nginx,sbin/tengine,'" var_append INSTALL_WRAPPER_FILTER "|" "sed 's,nginx.conf.default,tengine.conf.default,'" #