From 5f23f7aef1b0c08e4086bf7dae841092e3aa2893 Mon Sep 17 00:00:00 2001 From: knu Date: Wed, 23 Apr 2003 06:22:49 +0000 Subject: Fix build on FreeBSD 4.x. PR: ports/50978 Submitted by: Kirill Ponomarew --- audio/ruby-musicbrainz/files/patch-extconf.rb | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 audio/ruby-musicbrainz/files/patch-extconf.rb (limited to 'audio/ruby-musicbrainz/files') 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') -- cgit