summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
Diffstat (limited to 'audio')
-rw-r--r--audio/gnupod/files/patch-tools::gnupod_install.pl12
-rw-r--r--audio/gnupod/pkg-plist8
2 files changed, 16 insertions, 4 deletions
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