ports/71157: [PATCH] www/mod_perl: add missing manpage

Yen-Ming Lee leeym at FreeBSD.org
Mon Aug 30 11:51:37 PDT 2004


On Mon, Aug 30, 2004 at 07:19:07PM +0200, Mathieu Arnold wrote:
> +-Le 31/08/2004 01:03 +0800, Yen-Ming Lee a dit :
> | -		Bundle::Apache.3 \
> | +		Bundle::Apache.3 Apache::MyConfig.3 \
> 
> This is true with 5.8.5 but not with 5.6.1 or 5.005_03, this is a bug in
> ExtUtils, so, you also have to add a patch to the Makefile.PL to add the
> full list of man pages.

How about add a conditional MAN3 after ".include <bsd.port.pre.mk>"?

-- 
Yen-Ming Lee [utf7:+Z05fZWYO] | KeyID:0x5EB52E51 | Taipei, Taiwan
-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/www/mod_perl/Makefile,v
retrieving revision 1.29
diff -u -r1.29 Makefile
--- Makefile	18 Aug 2004 19:11:12 -0000	1.29
+++ Makefile	30 Aug 2004 18:48:27 -0000
@@ -7,6 +7,7 @@
 
 PORTNAME=	mod_perl
 PORTVERSION=	1.29
+PORTREVISION=	1
 CATEGORIES=	www perl5
 MASTER_SITES=	${MASTER_SITE_PERL_CPAN}
 MASTER_SITE_SUBDIR=	Apache
@@ -45,6 +46,10 @@
 .endif
 
 .include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} >= 500800
+MAN3+=		Apache::MyConfig.3
+.endif
 
 post-install:
 	${MKDIR} ${PREFIX}/include/apache/modules/perl


More information about the freebsd-apache mailing list