Patch pthread options into flags so library will build.
PR: 46075 Approved by: kris
This commit is contained in:
parent
4fd77cada9
commit
b1fa1e443e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=71413
@ -25,6 +25,8 @@ INSTALL_TARGET= site-install
|
||||
|
||||
DOCS= AUTHORS COPYING ChangeLog README doc
|
||||
|
||||
CONFIGURE_ENV+= CFLAGS="${PTHREAD_CFLAGS}" LDFLAGS="${PTHREAD_LIBS}"
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${RUBY_MODEXAMPLESDIR}
|
||||
|
13
audio/ruby-xmms/files/patch-extconf.rb
Normal file
13
audio/ruby-xmms/files/patch-extconf.rb
Normal file
@ -0,0 +1,13 @@
|
||||
--- 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")
|
Loading…
Reference in New Issue
Block a user