View | Details | Raw Unified | Return to bug 46075
Collapse All | Expand All

(-)audio/ruby-xmms/Makefile (+2 lines)
Lines 24-31 Link Here
24
INSTALL_TARGET=	site-install
24
INSTALL_TARGET=	site-install
25
25
26
DOCS=		AUTHORS COPYING ChangeLog README doc
26
DOCS=		AUTHORS COPYING ChangeLog README doc
27
27
28
CONFIGURE_ENV+=	CFLAGS="${PTHREAD_CFLAGS}" LDFLAGS="${PTHREAD_LIBS}"
29
28
post-install:
30
post-install:
29
.if !defined(NOPORTDOCS)
31
.if !defined(NOPORTDOCS)
30
	${MKDIR} ${RUBY_MODEXAMPLESDIR}
32
	${MKDIR} ${RUBY_MODEXAMPLESDIR}
31
	${CP} -R ${WRKSRC}/examples/* ${RUBY_MODEXAMPLESDIR}/
33
	${CP} -R ${WRKSRC}/examples/* ${RUBY_MODEXAMPLESDIR}/
(-)audio/ruby-xmms/files/patch-extconf.rb (+13 lines)
Added Link Here
1
--- extconf.rb~	Sun May  5 03:16:11 2002
2
+++ extconf.rb	Sat Dec  7 09:30:02 2002
3
@@ -2,8 +2,8 @@
4
 
5
 xmms_config = with_config("xmms-config", "xmms-config")
6
 
7
-$CFLAGS << ' ' << `#{xmms_config} --cflags`.chomp
8
-$LDFLAGS << ' ' << `#{xmms_config} --libs`.chomp
9
+$CFLAGS << ' ' << ENV["CFLAGS"] << ' ' << `#{xmms_config} --cflags`.chomp
10
+$LDFLAGS << ' ' << ENV["LDFLAGS"] << ' ' << `#{xmms_config} --libs`.chomp
11
 
12
 have_library("xmms", "xmms_remote_get_version") and
13
   create_makefile("xmms")

Return to bug 46075