Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Oct 2003 07:52:38 -0700 (PDT)
From:      Lars Eggert <larse@isi.edu>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:    ports/58490: [MAINTAINER] www/mod_perl2: fix install with perl < 5.8
Message-ID:  <200310241452.h9OEqcfO054979@nik.isi.edu>
Resent-Message-ID: <200310241500.h9OF0W20004253@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         58490
>Category:       ports
>Synopsis:       [MAINTAINER] www/mod_perl2: fix install with perl < 5.8
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct 24 08:00:31 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Lars Eggert
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
USC Information Sciences Institute
>Environment:
System: FreeBSD nik.isi.edu 5.1-CURRENT FreeBSD 5.1-CURRENT #1: Mon Oct 20 11:53:38 PDT 2003
>Description:
Fixes install with perl versions less than 5.8. I'm using 5.8, so I cannot
confirm this, but the patch does not break things with 5.8 at least.

Reported by: Peter McGarvey <xaphod@packet.org.uk>

Generated with FreeBSD Port Tools 0.50
>How-To-Repeat:
>Fix:

--- mod_perl2-1.99r10_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/www/mod_perl2.old/Makefile /usr/ports/www/mod_perl2/Makefile
--- /usr/ports/www/mod_perl2.old/Makefile	Fri Oct 24 07:39:38 2003
+++ /usr/ports/www/mod_perl2/Makefile	Fri Oct 24 07:45:18 2003
@@ -7,6 +7,7 @@
 
 PORTNAME=	mod_perl
 PORTVERSION=	1.99r10
+PORTREVISION=	1
 CATEGORIES=	www perl5
 MASTER_SITES=	http://perl.apache.org/dist/ \
 		http://perl.apache.org/dist/old/
diff -ruN --exclude=CVS /usr/ports/www/mod_perl2.old/files/patch-ab /usr/ports/www/mod_perl2/files/patch-ab
--- /usr/ports/www/mod_perl2.old/files/patch-ab	Wed Dec 31 16:00:00 1969
+++ /usr/ports/www/mod_perl2/files/patch-ab	Fri Oct 24 07:42:55 2003
@@ -0,0 +1,11 @@
+--- Apache-Test/install-pl.old	Fri Oct 24 07:42:28 2003
++++ Apache-Test/install-pl	Fri Oct 24 07:42:38 2003
+@@ -58,7 +58,7 @@
+     return <<EOF;
+ 
+ nuke_Apache__test:
+-\t\$(PERLRUN) -MExtUtils::Install -e \\
++\t\$(PERL) -MExtUtils::Install -e \\
+ \t"-e qq{$cleanup_packlist} && uninstall(qq{$cleanup_packlist}, 1, 0)"
+ EOF
+ 
--- mod_perl2-1.99r10_1.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200310241452.h9OEqcfO054979>