1 |
3 |
ahitrov@rambler.ru |
############################################################################## |
2 |
495 |
ahitrov |
# |
3 |
3 |
ahitrov@rambler.ru |
############################################################################### |
4 |
|
|
|
5 |
|
|
include ../../etc/perl.mk |
6 |
|
|
|
7 |
|
|
ifeq (${shell ${PERL} -e 'print 1 if ${PERL_LEVEL}<501000'},1) |
8 |
|
|
PORTVERSION = 1.29 |
9 |
|
|
else |
10 |
|
|
PORTVERSION = 1.31 |
11 |
|
|
endif |
12 |
|
|
|
13 |
12 |
ahitrov@rambler.ru |
MASTER_CPAN_SUBDIR = ModPerl/GOZER |
14 |
3 |
ahitrov@rambler.ru |
PERL_MAKEMAKER = yes |
15 |
|
|
PERL_CHECK = no |
16 |
|
|
CONFIGURE_POSTARGS = APACHE_SRC=${APACHE_WRKSRC}/src \ |
17 |
|
|
USE_APACI=1 \ |
18 |
|
|
DO_HTTPD=1 \ |
19 |
|
|
PREP_HTTPD=1 \ |
20 |
|
|
EVERYTHING=1 |
21 |
|
|
|
22 |
499 |
ahitrov |
CONFIGURE_PRECMD = ${MAKE_RECURSIVE} pre-configure |
23 |
495 |
ahitrov |
pre-configure: |
24 |
|
|
ifeq (${shell ${PERL} -e 'print 1 if ${PERL_LEVEL}>=501400'},1) |
25 |
|
|
cd ${WRKSRC} && patch -p0 < ${PORTDIR}/patch.perl5.14 |
26 |
|
|
endif |
27 |
|
|
ifeq (${shell ${PERL} -e 'print 1 if ${PERL_LEVEL}>=501600'},1) |
28 |
|
|
cd ${WRKSRC} && patch -p0 < ${PORTDIR}/patch.perl5.16 |
29 |
|
|
endif |
30 |
3 |
ahitrov@rambler.ru |
|
31 |
495 |
ahitrov |
|
32 |
3 |
ahitrov@rambler.ru |
include ../../etc/ports.mk |