diff options
author | lioux <lioux@FreeBSD.org> | 2005-09-17 06:17:13 +0800 |
---|---|---|
committer | lioux <lioux@FreeBSD.org> | 2005-09-17 06:17:13 +0800 |
commit | 8d3a37de5f58771ed141adef995d9ff998e428f2 (patch) | |
tree | 3bebb5cde701ce329d456fdb5e0beb54365c517e /audio/py-musicbrainz | |
parent | 0cb86e07f234088cfe1d62fd56d122456c81356f (diff) | |
download | freebsd-ports-gnome-8d3a37de5f58771ed141adef995d9ff998e428f2.tar.gz freebsd-ports-gnome-8d3a37de5f58771ed141adef995d9ff998e428f2.tar.zst freebsd-ports-gnome-8d3a37de5f58771ed141adef995d9ff998e428f2.zip |
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.py | 9 |
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 98951b00b973..2e33e23ca17d 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): |