summaryrefslogtreecommitdiffstats
path: root/audio/py-musicbrainz
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2005-09-16 22:17:13 +0000
committerlioux <lioux@FreeBSD.org>2005-09-16 22:17:13 +0000
commit8d3a37de5f58771ed141adef995d9ff998e428f2 (patch)
tree3bebb5cde701ce329d456fdb5e0beb54365c517e /audio/py-musicbrainz
parent0cb86e07f234088cfe1d62fd56d122456c81356f (diff)
downloadFreeBSD-ports-8d3a37de5f58771ed141adef995d9ff998e428f2.zip
FreeBSD-ports-8d3a37de5f58771ed141adef995d9ff998e428f2.tar.gz
Fix build on FreeBSD 4.x branch
Submitted by: pointyhat (kris)
Diffstat (limited to 'audio/py-musicbrainz')
-rw-r--r--audio/py-musicbrainz/files/patch-musicbrainz.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/audio/py-musicbrainz/files/patch-musicbrainz.py b/audio/py-musicbrainz/files/patch-musicbrainz.py
index 98951b0..2e33e23 100644
--- a/audio/py-musicbrainz/files/patch-musicbrainz.py
+++ b/audio/py-musicbrainz/files/patch-musicbrainz.py
@@ -1,6 +1,6 @@
--- musicbrainz.py.orig Tue Aug 17 03:44:32 2004
-+++ musicbrainz.py Sat Aug 20 13:57:38 2005
-@@ -35,7 +35,13 @@
++++ musicbrainz.py Fri Sep 16 19:14:15 2005
+@@ -35,7 +35,16 @@
if sys.platform == "linux2":
lib = "libmusicbrainz.so.4"
else:
@@ -11,7 +11,10 @@
+ if sys.platform == "freebsd6":
+ lib = "libmusicbrainz.so.4"
+ else:
-+ raise MusicBrainzError, "Unknown platform: " + sys.platform
++ if sys.platform == "freebsd4":
++ lib = "libmusicbrainz.so.4"
++ else:
++ raise MusicBrainzError, "Unknown platform: " + sys.platform
path = "/usr/lib/" + lib
if os.access(path, os.F_OK):
OpenPOWER on IntegriCloud