ports/60190: [Maintainer Patch] Unbreak audio/gnupod under 4.X

David Le Brun david at dyn-ns.net
Fri Dec 12 21:10:17 UTC 2003


>Number:         60190
>Category:       ports
>Synopsis:       [Maintainer Patch] Unbreak audio/gnupod under 4.X
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Dec 12 13:10:11 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     David Le Brun
>Release:        FreeBSD 5.1-RELEASE-p10 i386
>Organization:
>Environment:
System: FreeBSD da-quirk.org 5.1-RELEASE-p10 FreeBSD 5.1-RELEASE-p10 #16: Tue Oct 7 21:34:53 CEST 2003 root at poyel:/usr/src/sys/i386/compile/POYEL i386


	
>Description:
	Bento reports this port as broken under FreeBSD 4.X

	This is due to few differences between Perl 5.005 and Perl 5.6.1 in the function mkdir. This patch allow the port to be build with any version of Perl.
>How-To-Repeat:
	
>Fix:

	

--- gnupod.diff begins here ---
diff -ruN gnupod.old/files/patch-tools::gnupod_install.pl gnupod/files/patch-tools::gnupod_install.pl
--- gnupod.old/files/patch-tools::gnupod_install.pl	Thu Jan  1 01:00:00 1970
+++ gnupod/files/patch-tools::gnupod_install.pl	Fri Dec 12 21:41:52 2003
@@ -0,0 +1,12 @@
+--- tools/gnupod_install.pl.old	Sun Oct  5 12:10:32 2003
++++ tools/gnupod_install.pl	Fri Dec 12 21:38:37 2003
+@@ -70,8 +70,7 @@
+ my($basedir, $modi, $perlbin) = @_;
+ die "Strange Perl installation, no \@INC! Can't install Perl-Module(s), killing myself..\n" if !$INC[0];
+ 
+-mkdir("$INC[0]/$modi");
+-chmod 0755, "$INC[0]/$modi";
++mkdir("$INC[0]/$modi", 0755);
+ print "Installing Modules at $INC[0]/$modi\n";
+ 
+  foreach my $file (glob("$basedir/*.pm")) {
--- gnupod.diff ends here ---


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



More information about the freebsd-ports-bugs mailing list