svn commit: r551765 - in head/www/rt50: . files

Mikael Urankar mikael at FreeBSD.org
Fri Oct 9 11:59:17 UTC 2020


Author: mikael
Date: Fri Oct  9 11:59:16 2020
New Revision: 551765
URL: https://svnweb.freebsd.org/changeset/ports/551765

Log:
  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
  MFH:		2020Q4 (blanket: runtime fix)

Added:
  head/www/rt50/files/patch-sbin_rt-test-dependencies.in   (contents, props changed)
Modified:
  head/www/rt50/Makefile
  head/www/rt50/Makefile.cpan

Modified: head/www/rt50/Makefile
==============================================================================
--- head/www/rt50/Makefile	Fri Oct  9 11:54:59 2020	(r551764)
+++ head/www/rt50/Makefile	Fri Oct  9 11:59:16 2020	(r551765)
@@ -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: head/www/rt50/Makefile.cpan
==============================================================================
--- head/www/rt50/Makefile.cpan	Fri Oct  9 11:54:59 2020	(r551764)
+++ head/www/rt50/Makefile.cpan	Fri Oct  9 11:59:16 2020	(r551765)
@@ -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				\

Added: head/www/rt50/files/patch-sbin_rt-test-dependencies.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/rt50/files/patch-sbin_rt-test-dependencies.in	Fri Oct  9 11:59:16 2020	(r551765)
@@ -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-all mailing list