|
|
@ -24,6 +24,8 @@ confopt="--prefix=/$prefix" |
|
|
|
[[ "$sysconfdir" = */$pkg ]] || sysconfdir=$sysconfdir/$pkg |
|
|
|
[[ "$sysconfdir" = */$pkg ]] || sysconfdir=$sysconfdir/$pkg |
|
|
|
|
|
|
|
|
|
|
|
var_append confopt ' ' "--conf-path=$sysconfdir/tengine.conf" |
|
|
|
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 |
|
|
|
# set path to nginx.pid file |
|
|
|
var_append confopt ' ' "--pid-path=$localstatedir/run/tengine.pid" |
|
|
|
var_append confopt ' ' "--pid-path=$localstatedir/run/tengine.pid" |
|
|
|
# set path to nginx.lock file |
|
|
|
# set path to nginx.lock file |
|
|
@ -81,7 +83,6 @@ if atstage cross; then |
|
|
|
fi |
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
var_append CC_WRAPPER_REMOVE " " "-Werror" |
|
|
|
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,'" |
|
|
|
var_append INSTALL_WRAPPER_FILTER "|" "sed 's,nginx.conf.default,tengine.conf.default,'" |
|
|
|
|
|
|
|
|
|
|
|
# |
|
|
|
# |
|
|
|