View | Details | Raw Unified | Return to bug 272999 | Differences between
and this patch

Collapse All | Expand All

(-)b/www/angie-module-perl/Makefile (+32 lines)
Added Link Here
1
PORTNAME=	angie-module-perl
2
3
COMMENT=	Angie Perl dynamic module
4
5
LICENSE_FILE=	${WRKSRC}/LICENSE
6
7
USES=		perl5
8
9
CONFIGURE_ADD=	--with-http_perl_module=dynamic
10
11
CFLAGS+=	-Wno-compound-token-split-by-macro
12
13
MASTERDIR=	${.CURDIR}/../../www/angie
14
15
do-install:
16
	${MKDIR} ${STAGEDIR}${MODDIR}
17
	${MKDIR} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/nginx
18
19
	${INSTALL_LIB} ${WRKSRC}/objs/ngx_http_perl_module.so \
20
	    ${STAGEDIR}${MODDIR}
21
22
	${INSTALL_LIB} ${WRKSRC}/objs/src/http/modules/perl/blib/arch/auto/nginx/nginx.so \
23
	    ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/nginx
24
	${INSTALL_DATA} ${WRKSRC}/objs/src/http/modules/perl/blib/lib/nginx.pm \
25
	    ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}
26
27
do-install-DEBUG-on:
28
	${INSTALL} ${COPY} -m ${_SHAREMODE} \
29
	    ${WRKSRC_DEBUG}/objs/ngx_http_perl_module.so \
30
	    ${STAGEDIR}${MODDIR}/ngx_http_perl_module-debug.so
31
32
.include "${MASTERDIR}/Makefile"
(-)b/www/angie-module-perl/files/patch-compound-token-warn (+11 lines)
Added Link Here
1
--- src/http/modules/perl/Makefile.PL.orig	2023-04-19 16:14:21.794655000 +0300
2
+++ src/http/modules/perl/Makefile.PL	2023-04-19 16:14:44.661077000 +0300
3
@@ -13,7 +13,7 @@
4
     ABSTRACT_FROM     => 'nginx.pm',     # retrieve abstract from module
5
     AUTHOR            => 'Igor Sysoev',
6
7
-    CCFLAGS           => "$ENV{NGX_PM_CFLAGS}",
8
+    CCFLAGS           => "$ENV{NGX_PM_CFLAGS} -Wno-compound-token-split-by-macro",
9
     OPTIMIZE          => '-O',
10
11
     LDDLFLAGS         => "$ENV{NGX_PM_LDFLAGS}",
(-)b/www/angie-module-perl/files/pkg-message.in (+15 lines)
Added Link Here
1
[
2
{ type: install
3
  message: <<EOM
4
5
The Perl dynamic module for Angie has been installed.
6
To enable this module, add the following to %%PREFIX%%/etc/angie/angie.conf
7
and reload angie:
8
9
    load_module modules/ngx_http_perl_module.so;
10
11
Please refer to the modules documentation for further details:
12
https://angie.software/en/http_perl/
13
EOM
14
}
15
]
(-)b/www/angie-module-perl/pkg-descr (+2 lines)
Added Link Here
1
Module is used to implement location and variable handlers in Perl and insert
2
Perl calls into SSI.
(-)b/www/angie-module-perl/pkg-plist (+4 lines)
Added Link Here
1
%%MODDIR%%/ngx_http_perl_module.so
2
%%DEBUG%%%%MODDIR%%/ngx_http_perl_module-debug.so
3
%%SITE_ARCH%%/auto/nginx/nginx.so
4
%%SITE_ARCH%%/nginx.pm

Return to bug 272999