Browse Source

tengine: adapted to use the --sbin-path confopt instead of an install wrapper filter.

user/amery/next/luajit
Nagy Karoly Gabriel 13 years ago
parent
commit
070b0213fb
  1. 3
      network/tengine/tengine.conf

3
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,'"
#

Loading…
Cancel
Save