aboutsummaryrefslogtreecommitdiff
path: root/audio/ruby-musicbrainz
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2003-04-23 06:22:49 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2003-04-23 06:22:49 +0000
commit1b8a5249422e6eeb454efc73c06293cd770c42d7 (patch)
tree9289d07c41063627c4f36ed9b464f99ecb918b55 /audio/ruby-musicbrainz
parent7302771412bf3e432c8600c79726451a41eef3da (diff)
downloadports-1b8a5249422e6eeb454efc73c06293cd770c42d7.tar.gz
ports-1b8a5249422e6eeb454efc73c06293cd770c42d7.zip
Fix build on FreeBSD 4.x.
PR: ports/50978 Submitted by: Kirill Ponomarew <ponomarew@oberon.net>
Notes
Notes: svn path=/head/; revision=79479
Diffstat (limited to 'audio/ruby-musicbrainz')
-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')