aboutsummaryrefslogtreecommitdiffstats
path: root/audio/ruby-musicbrainz
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2003-04-23 14:22:49 +0800
committerknu <knu@FreeBSD.org>2003-04-23 14:22:49 +0800
commit5f23f7aef1b0c08e4086bf7dae841092e3aa2893 (patch)
treec63cfed0ab40b4e385ec3e826dec74940857d0e4 /audio/ruby-musicbrainz
parentc65ecc0204755b362e6536c4e7cf06aef3826480 (diff)
downloadfreebsd-ports-gnome-5f23f7aef1b0c08e4086bf7dae841092e3aa2893.tar.gz
freebsd-ports-gnome-5f23f7aef1b0c08e4086bf7dae841092e3aa2893.tar.zst
freebsd-ports-gnome-5f23f7aef1b0c08e4086bf7dae841092e3aa2893.zip
Fix build on FreeBSD 4.x.
PR: ports/50978 Submitted by: Kirill Ponomarew <ponomarew@oberon.net>
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')