Lines 6-12
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= Net-DNS |
8 |
PORTNAME= Net-DNS |
9 |
PORTVERSION= 0.56 |
9 |
PORTVERSION= 0.57 |
10 |
CATEGORIES= dns net perl5 |
10 |
CATEGORIES= dns net perl5 |
11 |
MASTER_SITES= ${MASTER_SITE_PERL_CPAN} |
11 |
MASTER_SITES= ${MASTER_SITE_PERL_CPAN} |
12 |
MASTER_SITE_SUBDIR= Net |
12 |
MASTER_SITE_SUBDIR= Net |
Lines 16-22
Link Here
|
16 |
COMMENT= Perl5 interface to the DNS resolver, and dynamic updates |
16 |
COMMENT= Perl5 interface to the DNS resolver, and dynamic updates |
17 |
|
17 |
|
18 |
# Warnings during build are harmless, the port does not need these to build |
18 |
# Warnings during build are harmless, the port does not need these to build |
19 |
RUN_DEPENDS= ipcount:${PORTSDIR}/net-mgmt/p5-Net-IP |
19 |
RUN_DEPENDS= ipcount:${PORTSDIR}/net-mgmt/p5-Net-IP \ |
|
|
20 |
${SITE_PERL}/Digest/HMAC_MD5.pm:${PORTSDIR}/security/p5-Digest-HMAC |
20 |
|
21 |
|
21 |
PERL_CONFIGURE= yes |
22 |
PERL_CONFIGURE= yes |
22 |
CONFIGURE_ARGS+= --online-tests |
23 |
CONFIGURE_ARGS+= --online-tests |
Lines 43-59
Link Here
|
43 |
|
44 |
|
44 |
.include <bsd.port.pre.mk> |
45 |
.include <bsd.port.pre.mk> |
45 |
|
46 |
|
46 |
pre-fetch: |
|
|
47 |
.if ${PERL_LEVEL} < 500600 |
47 |
.if ${PERL_LEVEL} < 500600 |
48 |
@${ECHO} "************************************************************" |
48 |
RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/IO/Socket/INET.pm:${PORTSDIR}/devel/p5-IO |
49 |
@${ECHO} "* WARNING: Dependencies for the cryptographic functions of *" |
49 |
post-patch: |
50 |
@${ECHO} "* this library require at least Perl 5.6.2. Although most *" |
50 |
${PERL} -pi -e 's/=(.*);/\($$1\);/ if m{errorstring}' ${WRKSRC}/lib/Net/DNS/Resolver/Recurse.pm |
51 |
@${ECHO} "* functions of this library will work without them, if you *" |
|
|
52 |
@${ECHO} "* need those features, you will have to upgrade Perl. *" |
53 |
@${ECHO} "************************************************************" |
54 |
@sleep 5 |
55 |
.else |
56 |
RUN_DEPENDS+= ${SITE_PERL}/Digest/HMAC_MD5.pm:${PORTSDIR}/security/p5-Digest-HMAC |
57 |
.endif |
51 |
.endif |
58 |
|
52 |
|
59 |
.if ${PERL_LEVEL} < 500800 |
53 |
.if ${PERL_LEVEL} < 500800 |