diff options
author | taca <taca@pkgsrc.org> | 2016-09-11 16:07:55 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2016-09-11 16:07:55 +0000 |
commit | 44ca953389c9cece5a9b708861dc867660e8a70f (patch) | |
tree | b4bf3fbd1801c074ec800d16ff196a2cbf714257 | |
parent | 8ec43ea66a7163e90c75bce23e62b16c563bf7d4 (diff) | |
download | pkgsrc-44ca953389c9cece5a9b708861dc867660e8a70f.tar.gz |
Add patch files, too.
-rw-r--r-- | textproc/groonga/patches/patch-data_scripts_Makefile.in | 16 | ||||
-rw-r--r-- | textproc/groonga/patches/patch-vendor_nginx-1.11.3_auto_install | 38 |
2 files changed, 54 insertions, 0 deletions
diff --git a/textproc/groonga/patches/patch-data_scripts_Makefile.in b/textproc/groonga/patches/patch-data_scripts_Makefile.in new file mode 100644 index 00000000000..328a96300f7 --- /dev/null +++ b/textproc/groonga/patches/patch-data_scripts_Makefile.in @@ -0,0 +1,16 @@ +$NetBSD: patch-data_scripts_Makefile.in,v 1.1 2016/09/11 16:07:55 taca Exp $ + +Build and install groonga-httpd-restart when groonga-httpd PKG_OPTION is +enabled. + +--- data/scripts/Makefile.in.orig 2016-08-28 17:54:32.000000000 +0000 ++++ data/scripts/Makefile.in +@@ -410,7 +410,7 @@ tokenizer_pluginsdir = @tokenizer_plugin + top_build_prefix = @top_build_prefix@ + top_builddir = @top_builddir@ + top_srcdir = @top_srcdir@ +-dist_sbin_SCRIPTS = groonga-httpd-restart ++@WITH_GROONGA_HTTPD_TRUE@dist_sbin_SCRIPTS = groonga-httpd-restart + all: all-am + + .SUFFIXES: diff --git a/textproc/groonga/patches/patch-vendor_nginx-1.11.3_auto_install b/textproc/groonga/patches/patch-vendor_nginx-1.11.3_auto_install new file mode 100644 index 00000000000..b3d5461f7b4 --- /dev/null +++ b/textproc/groonga/patches/patch-vendor_nginx-1.11.3_auto_install @@ -0,0 +1,38 @@ +$NetBSD: patch-vendor_nginx-1.11.3_auto_install,v 1.1 2016/09/11 16:07:55 taca Exp $ + +Don't create "*.default". + +--- vendor/nginx-1.11.3/auto/install.orig 2016-07-27 04:07:48.000000000 +0000 ++++ vendor/nginx-1.11.3/auto/install +@@ -123,30 +123,21 @@ install: build $NGX_INSTALL_PERL_MODULES + + test -f '\$(DESTDIR)$NGX_CONF_PREFIX/mime.types' \\ + || cp conf/mime.types '\$(DESTDIR)$NGX_CONF_PREFIX' +- cp conf/mime.types '\$(DESTDIR)$NGX_CONF_PREFIX/mime.types.default' + + test -f '\$(DESTDIR)$NGX_CONF_PREFIX/fastcgi_params' \\ + || cp conf/fastcgi_params '\$(DESTDIR)$NGX_CONF_PREFIX' +- cp conf/fastcgi_params \\ +- '\$(DESTDIR)$NGX_CONF_PREFIX/fastcgi_params.default' + + test -f '\$(DESTDIR)$NGX_CONF_PREFIX/fastcgi.conf' \\ + || cp conf/fastcgi.conf '\$(DESTDIR)$NGX_CONF_PREFIX' +- cp conf/fastcgi.conf '\$(DESTDIR)$NGX_CONF_PREFIX/fastcgi.conf.default' + + test -f '\$(DESTDIR)$NGX_CONF_PREFIX/uwsgi_params' \\ + || cp conf/uwsgi_params '\$(DESTDIR)$NGX_CONF_PREFIX' +- cp conf/uwsgi_params \\ +- '\$(DESTDIR)$NGX_CONF_PREFIX/uwsgi_params.default' + + test -f '\$(DESTDIR)$NGX_CONF_PREFIX/scgi_params' \\ + || cp conf/scgi_params '\$(DESTDIR)$NGX_CONF_PREFIX' +- cp conf/scgi_params \\ +- '\$(DESTDIR)$NGX_CONF_PREFIX/scgi_params.default' + + test -f '\$(DESTDIR)$NGX_CONF_PATH' \\ +- || cp conf/nginx.conf '\$(DESTDIR)$NGX_CONF_PATH' +- cp conf/nginx.conf '\$(DESTDIR)$NGX_CONF_PREFIX/nginx.conf.default' ++ || cp conf/nginx.conf '\$(DESTDIR)$NGX_CONF_PREFIX' + + test -d '\$(DESTDIR)`dirname "$NGX_PID_PATH"`' \\ + || mkdir -p '\$(DESTDIR)`dirname "$NGX_PID_PATH"`' |