Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Apr 2005 10:55:45 -0300 (BRST)
From:      Renato Botelho <freebsd@galle.com.br>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/80104: [MAINTAINER] shells/perlsh: Fix installation on FreeBSD 4.x
Message-ID:  <200504191355.j3JDtjS5092641@data.galle.com.br>
Resent-Message-ID: <200504191400.j3JE0k7B058158@freefall.freebsd.org>

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

>Number:         80104
>Category:       ports
>Synopsis:       [MAINTAINER] shells/perlsh: Fix installation on FreeBSD 4.x
>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:   Tue Apr 19 14:00:45 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Renato Botelho
>Release:        FreeBSD 5.3-RELEASE-p9 i386
>Organization:
Galle Folheados - http://www.galle.com.br
>Environment:
System: FreeBSD data.galle.com.br 5.3-RELEASE-p9 FreeBSD 5.3-RELEASE-p9 #9: Fri Apr 15 07:52:00 BRST 2005
>Description:
- It was not installing on FreeBSD 4.x with perl 5.00503.
- Rename patch-aa to reflect which file is patched.

Added file(s):
- files/patch-Makefile.PL
- files/patch-postinstall.pl

Removed file(s):
- files/patch-aa

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

--- perlsh-1.8.patch begins here ---
Index: files/patch-Makefile.PL
===================================================================
RCS file: files/patch-Makefile.PL
diff -N files/patch-Makefile.PL
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ files/patch-Makefile.PL	19 Apr 2005 13:53:38 -0000
@@ -0,0 +1,10 @@
+--- Makefile.PL.orig	Thu Apr  7 08:01:59 2005
++++ Makefile.PL	Thu Apr  7 08:01:42 2005
+@@ -67,6 +67,7 @@
+ 
+ WriteMakefile (
+ 	NAME         => 'psh',
++	PREFIX       => '${PREFIX}',
+ 	VERSION_FROM => 'lib/Psh.pm',
+ 	AUTHOR       => 'Gregor N. Purdy (gregor@focusresearch.com)',
+ 	ABSTRACT     => 'Perl Shell',
Index: files/patch-aa
===================================================================
RCS file: files/patch-aa
diff -N files/patch-aa
--- files/patch-aa	18 Apr 2005 16:08:18 -0000	1.3
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,10 +0,0 @@
---- Makefile.PL.orig	Thu Apr  7 08:01:59 2005
-+++ Makefile.PL	Thu Apr  7 08:01:42 2005
-@@ -67,6 +67,7 @@
- 
- WriteMakefile (
- 	NAME         => 'psh',
-+	PREFIX       => '${PREFIX}',
- 	VERSION_FROM => 'lib/Psh.pm',
- 	AUTHOR       => 'Gregor N. Purdy (gregor@focusresearch.com)',
- 	ABSTRACT     => 'Perl Shell',
Index: files/patch-postinstall.pl
===================================================================
RCS file: files/patch-postinstall.pl
diff -N files/patch-postinstall.pl
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ files/patch-postinstall.pl	19 Apr 2005 13:53:38 -0000
@@ -0,0 +1,18 @@
+--- postinstall.pl.orig	Tue Apr 19 10:41:53 2005
++++ postinstall.pl	Tue Apr 19 10:42:00 2005
+@@ -1,9 +1,4 @@
+ 
+-if ($^O eq 'MSWin32') {
+-	mkdir("/psh");
+-	system("xcopy share\\themes \\psh /Y");
+-	system("xcopy share\\complete \\psh /Y");
+-} else {
+ 	my $where;
+ 
+ 	if( -w '/') {
+@@ -15,5 +10,4 @@
+ 	system("mkdir -p $where/share/psh");
+ 	system("cp -r share/themes $where/share/psh");
+ 	system("cp -r share/complete $where/share/psh");
+-}
+ 
--- perlsh-1.8.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?200504191355.j3JDtjS5092641>