Index: head/www/p5-MasonX-Apache2Handler/Makefile =================================================================== --- head/www/p5-MasonX-Apache2Handler/Makefile (revision 119424) +++ head/www/p5-MasonX-Apache2Handler/Makefile (revision 119425) @@ -1,28 +1,31 @@ # New ports collection makefile for: www/p5-MasonX-Apache2Handler # Date created: June 5, 2004 # Whom: Autrijus Tang # # $FreeBSD$ # PORTNAME= MasonX-Apache2Handler PORTVERSION= 0.05 +PORTREVISION= 1 CATEGORIES= www perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= MasonX PKGNAMEPREFIX= p5- MAINTAINER= autrijus@autrijus.org COMMENT= Mason/mod_perl2 interface -BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Apache2:${PORTSDIR}/www/mod_perl2 \ +BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Apache2/ModPerl/Config.pm:${PORTSDIR}/www/mod_perl2 \ ${SITE_PERL}/${PERL_ARCH}/Apache2/Apache/Cookie.pm:${PORTSDIR}/www/p5-libapreq2 \ ${SITE_PERL}/HTML/Mason.pm:${PORTSDIR}/www/p5-HTML-Mason - RUN_DEPENDS= ${BUILD_DEPENDS} PERL_CONFIGURE= yes MAN3= MasonX::Apache2Handler.3 MasonX::Mason-with-mod_perl2.3 + +post-patch: + ${FIND} ${WRKSRC} -name '*.orig' | ${XARGS} ${RM} .include Property changes on: head/www/p5-MasonX-Apache2Handler/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.1 \ No newline at end of property +1.2 \ No newline at end of property Index: head/www/p5-MasonX-Apache2Handler/files/patch-Makefile.PL =================================================================== --- head/www/p5-MasonX-Apache2Handler/files/patch-Makefile.PL (nonexistent) +++ head/www/p5-MasonX-Apache2Handler/files/patch-Makefile.PL (revision 119425) @@ -0,0 +1,12 @@ +--- Makefile.PL.orig Thu Sep 23 18:16:48 2004 ++++ Makefile.PL Thu Sep 23 18:17:14 2004 +@@ -14,6 +14,9 @@ + *EOF* + sleep 3; + ++# Detect PREREQ_PM if they are installed in Apache2/. ++eval { require Apache2 }; ++ + WriteMakefile( + NAME => 'MasonX::Apache2Handler', + VERSION_FROM => 'lib/MasonX/Apache2Handler.pm', # finds $VERSION Property changes on: head/www/p5-MasonX-Apache2Handler/files/patch-Makefile.PL ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/www/p5-MasonX-Apache2Handler/files/patch-lib-MasonX-Apache2Handler.pm =================================================================== --- head/www/p5-MasonX-Apache2Handler/files/patch-lib-MasonX-Apache2Handler.pm (nonexistent) +++ head/www/p5-MasonX-Apache2Handler/files/patch-lib-MasonX-Apache2Handler.pm (revision 119425) @@ -0,0 +1,11 @@ +--- lib/MasonX/Apache2Handler.pm Thu Sep 23 17:26:41 2004 ++++ lib/MasonX/Apache2Handler.pm Thu Sep 23 17:26:54 2004 +@@ -615,7 +615,7 @@ + if (exists $allowed_params->{data_dir} and not exists $params{data_dir}) + { + # constructs path to /mason +- my $def = $defaults{data_dir} = Apache->server->server_root_relative('mason'); ++ my $def = $defaults{data_dir} = File::Spec->catfile(Apache::ServerUtil::server_root(), 'mason'); + param_error "Default data_dir (MasonDataDir) '$def' must be an absolute path" + unless File::Spec->file_name_is_absolute($def); + Property changes on: head/www/p5-MasonX-Apache2Handler/files/patch-lib-MasonX-Apache2Handler.pm ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property