Ticket #25101: patch-auto__install.diff
File patch-auto__install.diff, 2.0 KB (added by macports@…, 14 years ago) |
---|
-
auto/install
old new 7 7 cat << END >> $NGX_MAKEFILE 8 8 9 9 install_perl_modules: 10 cd $NGX_OBJS/src/http/modules/perl && make install10 cd $NGX_OBJS/src/http/modules/perl && make pure_install 11 11 END 12 12 13 13 NGX_INSTALL_PERL_MODULES=install_perl_modules … … 92 92 cp conf/koi-utf '\$(DESTDIR)$NGX_CONF_PREFIX' 93 93 cp conf/win-utf '\$(DESTDIR)$NGX_CONF_PREFIX' 94 94 95 test -f '\$(DESTDIR)$NGX_CONF_PREFIX/mime.types' \ 96 || cp conf/mime.types '\$(DESTDIR)$NGX_CONF_PREFIX' 97 cp conf/mime.types '\$(DESTDIR)$NGX_CONF_PREFIX/mime.types.default' 95 cp conf/mime.types '\$(DESTDIR)$NGX_CONF_PREFIX/mime.types.example' 98 96 99 test -f '\$(DESTDIR)$NGX_CONF_PREFIX/fastcgi_params' \100 || cp conf/fastcgi_params '\$(DESTDIR)$NGX_CONF_PREFIX'101 97 cp conf/fastcgi_params \ 102 '\$(DESTDIR)$NGX_CONF_PREFIX/fastcgi_params. default'98 '\$(DESTDIR)$NGX_CONF_PREFIX/fastcgi_params.example' 103 99 104 test -f '\$(DESTDIR)$NGX_CONF_PREFIX/fastcgi.conf' \ 105 || cp conf/fastcgi.conf '\$(DESTDIR)$NGX_CONF_PREFIX' 106 cp conf/fastcgi.conf '\$(DESTDIR)$NGX_CONF_PREFIX/fastcgi.conf.default' 107 108 test -f '\$(DESTDIR)$NGX_CONF_PATH' \ 109 || cp conf/nginx.conf '\$(DESTDIR)$NGX_CONF_PATH' 110 cp conf/nginx.conf '\$(DESTDIR)$NGX_CONF_PREFIX/nginx.conf.default' 100 cp conf/fastcgi.conf '\$(DESTDIR)$NGX_CONF_PREFIX/fastcgi.conf.example' 101 102 cp conf/nginx.conf '\$(DESTDIR)$NGX_CONF_PREFIX/nginx.conf.example' 111 103 112 104 test -d '\$(DESTDIR)`dirname "$NGX_PID_PATH"`' \ 113 105 || mkdir -p '\$(DESTDIR)`dirname "$NGX_PID_PATH"`' … … 115 107 test -d '\$(DESTDIR)`dirname "$NGX_HTTP_LOG_PATH"`' || \ 116 108 mkdir -p '\$(DESTDIR)`dirname "$NGX_HTTP_LOG_PATH"`' 117 109 118 test -d '\$(DESTDIR)$NGX_PREFIX/html' \ 119 || cp -r html '\$(DESTDIR)$NGX_PREFIX' 110 test -d '\$(DESTDIR)$NGX_PREFIX/share/nginx/html' \ 111 || mkdir -p '\$(DESTDIR)$NGX_PREFIX/share/nginx' \ 112 && cp -r html '\$(DESTDIR)$NGX_PREFIX/share/nginx' 120 113 END 121 114 122 115