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:
parent
a02b8e409a
commit
e9c42dd85f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/branches/2020Q4/; revision=551927
@ -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
|
||||
|
@ -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 \
|
||||
|
11
www/rt50/files/patch-sbin_rt-test-dependencies.in
Normal file
11
www/rt50/files/patch-sbin_rt-test-dependencies.in
Normal 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;
|
Loading…
Reference in New Issue
Block a user