svn commit: r551927 - in branches/2020Q4/www/rt50: . files
Mikael Urankar
mikael at FreeBSD.org
Sat Oct 10 13:06:45 UTC 2020
Author: mikael
Date: Sat Oct 10 13:06:43 2020
New Revision: 551927
URL: https://svnweb.freebsd.org/changeset/ports/551927
Log:
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)
Added:
branches/2020Q4/www/rt50/files/patch-sbin_rt-test-dependencies.in
- copied unchanged from r551765, head/www/rt50/files/patch-sbin_rt-test-dependencies.in
Modified:
branches/2020Q4/www/rt50/Makefile
branches/2020Q4/www/rt50/Makefile.cpan
Directory Properties:
branches/2020Q4/ (props changed)
Modified: branches/2020Q4/www/rt50/Makefile
==============================================================================
--- branches/2020Q4/www/rt50/Makefile Sat Oct 10 13:05:47 2020 (r551926)
+++ branches/2020Q4/www/rt50/Makefile Sat Oct 10 13:06:43 2020 (r551927)
@@ -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
Modified: branches/2020Q4/www/rt50/Makefile.cpan
==============================================================================
--- branches/2020Q4/www/rt50/Makefile.cpan Sat Oct 10 13:05:47 2020 (r551926)
+++ branches/2020Q4/www/rt50/Makefile.cpan Sat Oct 10 13:06:43 2020 (r551927)
@@ -148,6 +148,7 @@ CORE_DEPS= p5-Apache-Session>=1.53:www/p5-Apache-Sessi
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 \
Copied: branches/2020Q4/www/rt50/files/patch-sbin_rt-test-dependencies.in (from r551765, head/www/rt50/files/patch-sbin_rt-test-dependencies.in)
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ branches/2020Q4/www/rt50/files/patch-sbin_rt-test-dependencies.in Sat Oct 10 13:06:43 2020 (r551927, copy of r551765, head/www/rt50/files/patch-sbin_rt-test-dependencies.in)
@@ -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;
More information about the svn-ports-branches
mailing list