aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2003-12-13 05:32:10 +0800
committerpav <pav@FreeBSD.org>2003-12-13 05:32:10 +0800
commitcacae05bb6d1f769220107892cbef8f841ae7b52 (patch)
tree4319774b6e9b6606b2b330ee39b10051d93eb1c6 /audio
parent3720a0d1753129ae3b47015346efdfa024982dbe (diff)
downloadfreebsd-ports-gnome-cacae05bb6d1f769220107892cbef8f841ae7b52.tar.gz
freebsd-ports-gnome-cacae05bb6d1f769220107892cbef8f841ae7b52.tar.zst
freebsd-ports-gnome-cacae05bb6d1f769220107892cbef8f841ae7b52.zip
- Fix install on perl 5.0
- Fix pkg-plist on perl 5.0 PR: ports/60190 Submitted by: David Le Brun <david@dyn-ns.net> (maintainer)
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