Patch pthread options into flags so library will build.

PR:		46075
Approved by:	kris
This commit is contained in:
Alan Eldridge 2002-12-08 00:22:57 +00:00
parent 4fd77cada9
commit b1fa1e443e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=71413
2 changed files with 15 additions and 0 deletions

View File

@ -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}

View 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")