From a73d57bddd0676097f81486235fa363d3a380c02 Mon Sep 17 00:00:00 2001 From: Pav Lucistnik Date: Fri, 12 Dec 2003 21:32:10 +0000 Subject: - Fix install on perl 5.0 - Fix pkg-plist on perl 5.0 PR: ports/60190 Submitted by: David Le Brun (maintainer) --- audio/gnupod/files/patch-tools::gnupod_install.pl | 12 ++++++++++++ audio/gnupod/pkg-plist | 8 ++++---- 2 files changed, 16 insertions(+), 4 deletions(-) create mode 100644 audio/gnupod/files/patch-tools::gnupod_install.pl (limited to 'audio/gnupod') diff --git a/audio/gnupod/files/patch-tools::gnupod_install.pl b/audio/gnupod/files/patch-tools::gnupod_install.pl new file mode 100644 index 000000000000..5cec58373e33 --- /dev/null +++ b/audio/gnupod/files/patch-tools::gnupod_install.pl @@ -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")) { diff --git a/audio/gnupod/pkg-plist b/audio/gnupod/pkg-plist index 5c7948a39336..e7a08afd8243 100644 --- a/audio/gnupod/pkg-plist +++ b/audio/gnupod/pkg-plist @@ -3,10 +3,10 @@ bin/gnupod_addsong.pl bin/gnupod_search.pl bin/mktunes.pl bin/tunes2pod.pl -%%SITE_PERL%%/mach/GNUpod/FileMagic.pm -%%SITE_PERL%%/mach/GNUpod/FooBar.pm -%%SITE_PERL%%/mach/GNUpod/iTunesDB.pm -%%SITE_PERL%%/mach/GNUpod/XMLhelper.pm +%%SITE_PERL%%/%%PERL_ARCH%%/GNUpod/FileMagic.pm +%%SITE_PERL%%/%%PERL_ARCH%%/GNUpod/FooBar.pm +%%SITE_PERL%%/%%PERL_ARCH%%/GNUpod/iTunesDB.pm +%%SITE_PERL%%/%%PERL_ARCH%%/GNUpod/XMLhelper.pm %%PORTDOCS%%%%DOCSDIR%%/CHANGES %%PORTDOCS%%%%DOCSDIR%%/gnutunesdb.example %%PORTDOCS%%%%DOCSDIR%%/gnupod.html -- cgit v1.2.3