summaryrefslogtreecommitdiff
path: root/audio/ruby-musicbrainz/files/patch-extconf.rb
diff options
context:
space:
mode:
Diffstat (limited to 'audio/ruby-musicbrainz/files/patch-extconf.rb')
-rw-r--r--audio/ruby-musicbrainz/files/patch-extconf.rb15
1 files changed, 15 insertions, 0 deletions
diff --git a/audio/ruby-musicbrainz/files/patch-extconf.rb b/audio/ruby-musicbrainz/files/patch-extconf.rb
new file mode 100644
index 000000000000..b0fe8d34266e
--- /dev/null
+++ b/audio/ruby-musicbrainz/files/patch-extconf.rb
@@ -0,0 +1,15 @@
+--- extconf.rb.orig Sat Aug 21 19:41:02 2004
++++ extconf.rb Sun Dec 26 05:17:30 2004
+@@ -1,8 +1,8 @@
+ require 'mkmf'
+
+-$LD_FLAGS = "-lstdc++ -lm"
++$LDFLAGS="-L${PREFIX}/lib -lstdc++ -lm"
+
+-have_library('m', 'pow') and
+-have_library('stdc++', '__cxa_rethrow') and
+-have_library('musicbrainz', 'mb_Query') and
++have_library('m') and
++have_library('stdc++') and
++have_library('musicbrainz') and
+ create_makefile('musicbrainz')