1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

1. Unbreak port building

2. Minor style cleanup
This commit is contained in:
Sergey Skvortsov 2003-08-08 09:28:56 +00:00
parent 0131469dd2
commit 097741e320
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=86570
4 changed files with 17 additions and 24 deletions

View File

@ -15,15 +15,14 @@ PKGNAMEPREFIX= p5-
MAINTAINER= ports@freebsd.org
COMMENT= Perl module to alter the output of previous handlers
BROKEN= Does not build
BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/mod_perl.pm:${PORTSDIR}/www/mod_perl
RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/mod_perl.pm:${PORTSDIR}/www/mod_perl
BUILD_DEPENDS= ${RUN_DEPENDS} \
${SITE_PERL}/Apache/Test.pm:${PORTSDIR}/www/p5-Apache-Test
PERL_CONFIGURE= yes
INSTALL_TARGET= pure_install
MAN3= Apache::Filter.3 Apache::PerlRunFilter.3 \
Apache::RegistryFilter.3
MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
.include <bsd.port.mk>

View File

@ -1,26 +1,20 @@
--- Makefile.PL.orig Fri Jan 31 20:36:41 2003
+++ Makefile.PL Sat Feb 1 13:07:44 2003
@@ -1,13 +1,13 @@
--- Makefile.PL.orig Fri Jan 31 22:36:41 2003
+++ Makefile.PL Fri Aug 8 13:16:29 2003
@@ -1,13 +1,5 @@
use strict;
use ExtUtils::MakeMaker;
-use lib 't/lib'; # distributed here until changes are incorporated into the real version
+#use lib 't/lib'; # distributed here until changes are incorporated into the real version
use Apache::test qw(have_httpd);
-use Apache::test qw(have_httpd);
-
-my %params = Apache::test->get_test_params();
-Apache::test->write_httpd_conf
- (%params,
- include => do {local $/; open FH, 't/config.incl'; <FH>});
-*MY::test = sub { Apache::test->MM_test(%params) } if have_httpd();
+#my %params = Apache::test->get_test_params();
+#Apache::test->write_httpd_conf
+# (%params,
+# include => do {local $/; open FH, 't/config.incl'; <FH>});
+#*MY::test = sub { Apache::test->MM_test(%params) } if have_httpd();
my $module = 'Apache::Filter';
my ($name, $dir);
@@ -27,7 +27,4 @@
@@ -27,7 +19,4 @@
},
'PL_FILES' => {},
'clean' => {FILES => "t/httpd t/httpd.conf t/error_log"},

View File

@ -17,6 +17,6 @@ From README:
HTML::Mason
Apache::SimpleReplace
WWW: WWW: http://search.cpan.org/dist/Apache-Filter/
WWW: http://search.cpan.org/dist/Apache-Filter/
-- Alex Kapranoff <kapr@crosswinds.net>

View File

@ -1,7 +1,7 @@
lib/perl5/site_perl/%%PERL_VER%%/Apache/PerlRunFilter.pm
lib/perl5/site_perl/%%PERL_VER%%/Apache/Filter.pm
lib/perl5/site_perl/%%PERL_VER%%/Apache/RegistryFilter.pm
@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Apache 2>/dev/null || true
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Apache/Filter/.packlist
@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Apache/Filter
@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Apache 2>/dev/null || true
%%SITE_PERL%%/Apache/PerlRunFilter.pm
%%SITE_PERL%%/Apache/Filter.pm
%%SITE_PERL%%/Apache/RegistryFilter.pm
@unexec rmdir %D/%%SITE_PERL%%/Apache 2>/dev/null || true
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Apache/Filter/.packlist
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Apache/Filter
@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Apache 2>/dev/null || true