diff options
author | John Marino <marino@FreeBSD.org> | 2013-10-06 23:22:08 +0000 |
---|---|---|
committer | John Marino <marino@FreeBSD.org> | 2013-10-06 23:22:08 +0000 |
commit | 2e37cab623af819cf3b9e957dff785c869f9f4ac (patch) | |
tree | 4ce89a371c1d2faf048e370c105a44bab661fc6f /audio/p5-Net-FreeDB | |
parent | 3f22518c3f41fd2e8e19b0423c2d36f944d9a132 (diff) | |
download | ports-2e37cab623af819cf3b9e957dff785c869f9f4ac.tar.gz ports-2e37cab623af819cf3b9e957dff785c869f9f4ac.zip |
Notes
Diffstat (limited to 'audio/p5-Net-FreeDB')
-rw-r--r-- | audio/p5-Net-FreeDB/files/patch-Makefile.PL | 13 | ||||
-rw-r--r-- | audio/p5-Net-FreeDB/files/patch-test.pl | 29 |
2 files changed, 42 insertions, 0 deletions
diff --git a/audio/p5-Net-FreeDB/files/patch-Makefile.PL b/audio/p5-Net-FreeDB/files/patch-Makefile.PL new file mode 100644 index 000000000000..5dd6984df14f --- /dev/null +++ b/audio/p5-Net-FreeDB/files/patch-Makefile.PL @@ -0,0 +1,13 @@ +--- Makefile.PL.orig 2006-09-27 08:46:57.000000000 +0000 ++++ Makefile.PL +@@ -9,6 +9,10 @@ if ($^O =~ /linux/) { + print "OS: $^O, copying XS file: "; + system("cp FreeDB.xs.linux FreeDB.xs") && die "Copying failed\n"; + print "1 file copied\n"; ++} elsif ($^O =~ /dragonfly/) { ++ print "OS: $^O, copying XS file: "; ++ system("cp FreeDB.xs.linux FreeDB.xs") && die "Copying failed\n"; ++ print "1 file copied\n"; + } elsif ($^O =~ /MSWin32/) { + print "OS: $^O, copying XS file:"; + system("copy FreeDB.xs.win32 FreeDB.xs") && die "Copying failed\n"; diff --git a/audio/p5-Net-FreeDB/files/patch-test.pl b/audio/p5-Net-FreeDB/files/patch-test.pl new file mode 100644 index 000000000000..61ec37a94326 --- /dev/null +++ b/audio/p5-Net-FreeDB/files/patch-test.pl @@ -0,0 +1,29 @@ +--- test.pl.orig 2005-09-28 14:45:55.000000000 +0000 ++++ test.pl +@@ -40,6 +40,8 @@ if ($^O =~ /MSWin32/) { + $id = $cddb->getdiscid(0); + } elsif ($^O =~ /freebsd/) { + $id = $cddb->getdiscid('/dev/acd0'); ++} elsif ($^O =~ /dragonfly/) { ++ $id = $cddb->getdiscid('/dev/cd0'); + } else { + $id = $cddb->getdiscid('/dev/cdrom'); + } +@@ -51,6 +53,8 @@ if ($^O =~ /MSWin32/) { + $id = Net::FreeDB::getdiscid(0); + } elsif ($^O =~ /freebsd/) { + $id = Net::FreeDB::getdiscid('/dev/acd0'); ++} elsif ($^O =~ /dragonfly/) { ++ $id = Net::FreeDB::getdiscid('/dev/cd0'); + } else { + $id = Net::FreeDB::getdiscid('/dev/cdrom'); + } +@@ -62,6 +66,8 @@ if ($^O =~ /MSWin32/) { + $id = Net::FreeDB::getdiscdata(0); + } elsif ($^O =~ /freebsd/) { + $id = Net::FreeDB::getdiscdata('/dev/acd0'); ++} elsif ($^O =~ /dragonfly/) { ++ $id = Net::FreeDB::getdiscdata('/dev/cd0'); + } else { + $id = Net::FreeDB::getdiscdata('/dev/cdrom'); + } |