MFH: r551765

www/rt50: add dependency on textproc/p5-Pod-Parse

Add dependency on textproc/p5-Pod-Parse:
RT::Shredder::POD uses Pod::Select, which is provided by
textproc/p5-Pod-Parser

While here, fix rt-test-dependencies by providing the correct path

PR:		250197
Reported by:	David Siebörger

Approved by:	portmgr (fix runtime blanket)
This commit is contained in:
Mikael Urankar 2020-10-10 13:06:43 +00:00
parent a02b8e409a
commit e9c42dd85f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/branches/2020Q4/; revision=551927
3 changed files with 14 additions and 0 deletions

View File

@ -2,6 +2,7 @@
PORTNAME= rt
DISTVERSION= 5.0.0
PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= http://download.bestpractical.com/pub/rt/release/
PKGNAMESUFFIX= 50
@ -168,6 +169,7 @@ post-patch:
@${REINPLACE_CMD} -e 's!/path/to/your/etc!${RT_ETC_PATH}!g' ${WRKSRC}/etc/RT_SiteConfig.pm
@${REINPLACE_CMD} -e 's!/bin:/usr/bin!/bin:/usr/bin:${LOCALBASE}/bin!' ${WRKSRC}/lib/RT/Interface/CLI.pm && \
${RM} ${WRKSRC}/lib/RT/Interface/CLI.pm.bak
@${REINPLACE_CMD} -e 's!RT_ETC_DIR!${RT_ETC_DIR}!' ${WRKSRC}/sbin/rt-test-dependencies.in
pre-install:
@${RM} ${WRKSRC}/lib/RT.pm.in

View File

@ -148,6 +148,7 @@ CORE_DEPS= p5-Apache-Session>=1.53:www/p5-Apache-Session \
p5-Net-CIDR>0:net-mgmt/p5-Net-CIDR \
p5-Net-IP>=0:net-mgmt/p5-Net-IP \
p5-Plack>=1.0002:www/p5-Plack \
p5-Pod-Parser>0:textproc/p5-Pod-Parser \
p5-Starlet>0:www/p5-Starlet \
p5-Regexp-Common-net-CIDR>0:textproc/p5-Regexp-Common-net-CIDR \
p5-Regexp-Common>0:textproc/p5-Regexp-Common \

View File

@ -0,0 +1,11 @@
--- sbin/rt-test-dependencies.in.orig 2020-10-08 10:56:59 UTC
+++ sbin/rt-test-dependencies.in
@@ -237,7 +237,7 @@ sub read_deps {
};
my ($vol, $dir, $path) = File::Spec->splitpath( $script_path );
- my $ret = do "$dir/../etc/cpanfile";
+ my $ret = do "$dir/../RT_ETC_DIR/cpanfile";
die "Failed to load cpanfile: @{[$@ || $!]}" if not defined $ret and ($@ or $!);
return %deps;