aboutsummaryrefslogtreecommitdiffstats
path: root/audio/ruby-musicbrainz/files
diff options
context:
space:
mode:
Diffstat (limited to 'audio/ruby-musicbrainz/files')
-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..cd4b01df9ef2
--- /dev/null
+++ b/audio/ruby-musicbrainz/files/patch-extconf.rb
@@ -0,0 +1,15 @@
+--- extconf.rb.orig Tue Apr 15 14:13:01 2003
++++ extconf.rb Tue Apr 15 14:13:05 2003
+@@ -1,8 +1,9 @@
+ 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('stdc++') and
++
++have_library('musicbrainz') and
+ create_makefile('musicbrainz')