diff options
author | philip <philip@FreeBSD.org> | 2005-06-10 18:42:18 +0800 |
---|---|---|
committer | philip <philip@FreeBSD.org> | 2005-06-10 18:42:18 +0800 |
commit | 0f52269c2f423d9cf81f433cb8c4a66cd9931ca4 (patch) | |
tree | f7767de9710d129e0c01b5324c2101673bd6f8b6 | |
parent | 1ca87046c514fb884b2e95d1f7a6bc8eebbc4903 (diff) | |
download | freebsd-ports-gnome-0f52269c2f423d9cf81f433cb8c4a66cd9931ca4.tar.gz freebsd-ports-gnome-0f52269c2f423d9cf81f433cb8c4a66cd9931ca4.tar.zst freebsd-ports-gnome-0f52269c2f423d9cf81f433cb8c4a66cd9931ca4.zip |
Unbreak after the mod_perl2 API dance.
Approved by: krion (mentor), dom@happygiraffe.net (maintainer)
-rw-r--r-- | www/p5-Apache-MP3/Makefile | 6 | ||||
-rw-r--r-- | www/p5-Apache-MP3/files/mod_perl2.patch | 13 |
2 files changed, 12 insertions, 7 deletions
diff --git a/www/p5-Apache-MP3/Makefile b/www/p5-Apache-MP3/Makefile index 88a75ffafc4d..282f9bd4e34f 100644 --- a/www/p5-Apache-MP3/Makefile +++ b/www/p5-Apache-MP3/Makefile @@ -7,6 +7,7 @@ PORTNAME= Apache-MP3 PORTVERSION= 3.05 +PORTREVISION= 1 CATEGORIES= www audio perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR=Apache @@ -41,9 +42,8 @@ RUN_DEPENDS+= ${SITE_PERL}/Locale/Maketext.pm:${PORTSDIR}/devel/p5-Locale-Makete .endif .if defined(WITH_APACHE2) -BROKEN= Broken due the new mod_perl2 API -BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Apache2/mod_perl.pm:${PORTSDIR}/www/mod_perl2 -RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Apache2/mod_perl.pm:${PORTSDIR}/www/mod_perl2 +BUILD_DEPENDS+= ${LOCALBASE}/libexec/apache2/mod_perl.so:${PORTSDIR}/www/mod_perl2 +RUN_DEPENDS+= ${LOCALBASE}/libexec/apache2/mod_perl.so:${PORTSDIR}/www/mod_perl2 EXTRA_PATCHES= ${PATCHDIR}/mod_perl2.patch .else BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/mod_perl.pm:${PORTSDIR}/www/mod_perl diff --git a/www/p5-Apache-MP3/files/mod_perl2.patch b/www/p5-Apache-MP3/files/mod_perl2.patch index f42b54043637..b84cd7895b5e 100644 --- a/www/p5-Apache-MP3/files/mod_perl2.patch +++ b/www/p5-Apache-MP3/files/mod_perl2.patch @@ -1,6 +1,11 @@ ---- MP3.pm.orig Sat Feb 15 00:47:48 2003 -+++ MP3.pm Sat Jul 19 13:21:56 2003 -@@ -9,7 +9,7 @@ +--- MP3.pm.orig Mon Oct 6 16:06:10 2003 ++++ MP3.pm Thu Jun 9 15:37:04 2005 +@@ -5,11 +5,11 @@ + + BEGIN { + require mod_perl; +- require Apache::compat if $mod_perl::VERSION >= 1.99; ++ require Apache2::compat if $mod_perl::VERSION >= 1.99; } use Apache; @@ -27,7 +32,7 @@ my $class = shift; my $obj = $class->new(@_) or die "Can't create object: $!"; return $obj->run(); -@@ -395,14 +397,14 @@ +@@ -415,14 +417,14 @@ my $self = shift; my $dir = shift; |