pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/www/nginx
Module Name: pkgsrc
Committed By: jperkin
Date: Thu Sep 3 09:48:07 UTC 2020
Modified Files:
pkgsrc/www/nginx: Makefile.common distinfo options.mk
Removed Files:
pkgsrc/www/nginx/patches: patch-auto_lib_pcre_conf
Log Message:
nginx: Replace hardcoded /usr/pkg for all modules.
To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 pkgsrc/www/nginx/Makefile.common
cvs rdiff -u -r1.74 -r1.75 pkgsrc/www/nginx/distinfo
cvs rdiff -u -r1.57 -r1.58 pkgsrc/www/nginx/options.mk
cvs rdiff -u -r1.2 -r0 pkgsrc/www/nginx/patches/patch-auto_lib_pcre_conf
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/www/nginx/Makefile.common
diff -u pkgsrc/www/nginx/Makefile.common:1.18 pkgsrc/www/nginx/Makefile.common:1.19
--- pkgsrc/www/nginx/Makefile.common:1.18 Mon Apr 27 05:07:25 2020
+++ pkgsrc/www/nginx/Makefile.common Thu Sep 3 09:48:07 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.18 2020/04/27 05:07:25 rillig Exp $
+# $NetBSD: Makefile.common,v 1.19 2020/09/03 09:48:07 jperkin Exp $
# used by www/nginx/Makefile
# used by www/nginx-devel/Makefile
@@ -75,12 +75,6 @@ OWN_DIRS_PERMS+= ${NGINX_DATADIR} ${NGIN
BUILD_TARGET= build
-SUBST_CLASSES+= prefix
-SUBST_STAGE.prefix= pre-configure
-SUBST_FILES.prefix= auto/lib/pcre/conf
-SUBST_VARS.prefix= PREFIX
-SUBST_NOOP_OK.prefix= yes # not needed for nginx>=17
-
SUBST_CLASSES+= paths
SUBST_STAGE.paths= pre-configure
SUBST_FILES.paths= conf/nginx.conf
Index: pkgsrc/www/nginx/distinfo
diff -u pkgsrc/www/nginx/distinfo:1.74 pkgsrc/www/nginx/distinfo:1.75
--- pkgsrc/www/nginx/distinfo:1.74 Sun Aug 16 21:54:08 2020
+++ pkgsrc/www/nginx/distinfo Thu Sep 3 09:48:07 2020
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.74 2020/08/16 21:54:08 wiz Exp $
+$NetBSD: distinfo,v 1.75 2020/09/03 09:48:07 jperkin Exp $
SHA1 (array-var-nginx-module-0.05.tar.gz) = c69fac77814947009ab783a471783b3c95a63a26
RMD160 (array-var-nginx-module-0.05.tar.gz) = 89bd4efc04864e3e90781588a337338951ec8733
@@ -55,5 +55,4 @@ Size (set-misc-nginx-module-0.32.tar.gz)
SHA1 (patch-aa) = 47f0c19b47b115f00ea6e9432d5bb12058c3bc1c
SHA1 (patch-ab) = 7d126a4372aa8575ef01a4bfd9aec9898861c763
SHA1 (patch-auto_cc_conf) = 5e6a479ba419cd16dedeb3b4c47dc685d126ef6a
-SHA1 (patch-auto_lib_pcre_conf) = 8cf03fe38e7f75ef6892cc8b93be5cb18c381e97
SHA1 (patch-src_event_modules_ngx__eventport__module.c) = c8e919f48d68bd5bffc4ad11d9c79dc6da3a0de2
Index: pkgsrc/www/nginx/options.mk
diff -u pkgsrc/www/nginx/options.mk:1.57 pkgsrc/www/nginx/options.mk:1.58
--- pkgsrc/www/nginx/options.mk:1.57 Sun Aug 16 21:54:08 2020
+++ pkgsrc/www/nginx/options.mk Thu Sep 3 09:48:07 2020
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.57 2020/08/16 21:54:08 wiz Exp $
+# $NetBSD: options.mk,v 1.58 2020/09/03 09:48:07 jperkin Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.nginx
PKG_SUPPORTED_OPTIONS= array-var auth-request dav debug echo encrypted-session \
@@ -35,11 +35,21 @@ CONFIGURE_ARGS+= --with-debug
.include "../../security/openssl/buildlink3.mk"
CONFIGURE_ARGS+= --with-mail_ssl_module
CONFIGURE_ARGS+= --with-http_ssl_module
+SUBST_CLASSES+= fix-ssl
+SUBST_STAGE.fix-ssl= pre-configure
+SUBST_FILES.fix-ssl= auto/lib/openssl/conf
+SUBST_SED.fix-ssl= -e 's,/usr/pkg,${BUILDLINK_PREFIX.openssl},g'
+SUBST_NOOP_OK.fix-ssl= yes
.endif
.if !empty(PKG_OPTIONS:Mpcre)
.include "../../devel/pcre/buildlink3.mk"
CONFIGURE_ARGS+= --with-pcre-jit
+SUBST_CLASSES+= fix-pcre
+SUBST_STAGE.fix-pcre= pre-configure
+SUBST_FILES.fix-pcre= auto/lib/pcre/conf
+SUBST_SED.fix-pcre= -e 's,/usr/pkg,${BUILDLINK_PREFIX.pcre},g'
+SUBST_NOOP_OK.fix-pcre= yes
.else
CONFIGURE_ARGS+= --without-pcre
CONFIGURE_ARGS+= --without-http_rewrite_module
@@ -50,6 +60,11 @@ CONFIGURE_ARGS+= --with-http_dav_module
CONFIGURE_ARGS+= --add-module=../${DAV_EXT_DISTNAME}
.include "../../textproc/libxslt/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
+SUBST_CLASSES+= fix-xslt
+SUBST_STAGE.fix-xslt= pre-configure
+SUBST_FILES.fix-xslt= auto/lib/libxslt/conf
+SUBST_SED.fix-xslt= -e 's,/usr/pkg,${BUILDLINK_PREFIX.libxslt},g'
+SUBST_NOOP_OK.fix-xslt= yes
.endif
.if !empty(PKG_OPTIONS:Mdav) || make(makesum) || make(mdi)
DAV_EXT_VERSION= 3.0.0
@@ -66,6 +81,11 @@ CONFIGURE_ARGS+= --with-http_flv_module
.if !empty(PKG_OPTIONS:Mgeoip)
.include "../../net/GeoIP/buildlink3.mk"
CONFIGURE_ARGS+= --with-http_geoip_module
+SUBST_CLASSES+= fix-geo
+SUBST_STAGE.fix-geo= pre-configure
+SUBST_FILES.fix-geo= auto/lib/geoip/conf
+SUBST_SED.fix-geo= -e 's,/usr/pkg,${BUILDLINK_PREFIX.GeoIP},g'
+SUBST_NOOP_OK.fix-geo= yes
.endif
.if !empty(PKG_OPTIONS:Mhttp2)
@@ -210,6 +230,11 @@ DISTFILES+= ${PUSH_DISTFILE}
.if !empty(PKG_OPTIONS:Mimage-filter)
.include "../../graphics/gd/buildlink3.mk"
CONFIGURE_ARGS+= --with-http_image_filter_module
+SUBST_CLASSES+= fix-gd
+SUBST_STAGE.fix-gd= pre-configure
+SUBST_FILES.fix-gd= auto/lib/libgd/conf
+SUBST_SED.fix-gd= -e 's,/usr/pkg,${BUILDLINK_PREFIX.gd},g'
+SUBST_NOOP_OK.fix-gd= yes
.endif
.if !empty(PKG_OPTIONS:Mslice)
Home |
Main Index |
Thread Index |
Old Index