1
0
Fork 0
mirror of https://git.freebsd.org/ports.git synced 2025-07-15 00:09:15 -04:00
ports/audio/ruby-xmms/files/patch-extconf.rb
Alan Eldridge b1fa1e443e Patch pthread options into flags so library will build.
PR:		46075
Approved by:	kris
2002-12-08 00:22:57 +00:00

13 lines
491 B
Ruby

--- extconf.rb~ Sun May 5 03:16:11 2002
+++ extconf.rb Sat Dec 7 09:30:02 2002
@@ -2,8 +2,8 @@
xmms_config = with_config("xmms-config", "xmms-config")
-$CFLAGS << ' ' << `#{xmms_config} --cflags`.chomp
-$LDFLAGS << ' ' << `#{xmms_config} --libs`.chomp
+$CFLAGS << ' ' << ENV["CFLAGS"] << ' ' << `#{xmms_config} --cflags`.chomp
+$LDFLAGS << ' ' << ENV["LDFLAGS"] << ' ' << `#{xmms_config} --libs`.chomp
have_library("xmms", "xmms_remote_get_version") and
create_makefile("xmms")