freebsd-ports/audio/ruby-musicbrainz/files/patch-extconf.rb
Pav Lucistnik 59cbd20936 - Update to 0.2.1
PR:		ports/96787
Submitted by:	Aleksander Fafula <alex@fafula.com>
2006-05-06 10:15:19 +00:00

15 lines
465 B
Ruby

--- extconf.rb.orig Thu May 4 19:53:01 2006
+++ extconf.rb Thu May 4 19:54:13 2006
@@ -1,9 +1,9 @@
require 'mkmf'
-$LD_FLAGS = "-lstdc++ -lm"
+$LDFLAGS="-L${PREFIX}/lib -lstdc++ -lm"
have_func('pow', 'math.h') and
# note, this causes problems in cygwin. any suggestions?
-have_library('stdc++', '__cxa_rethrow') and
-have_library('musicbrainz', 'mb_Query') and
+have_library('stdc++') and
+have_library('musicbrainz') and
create_makefile('musicbrainz')