SPECS: mpg123.spec - fix sdl build, works

shadzik shadzik at pld-linux.org
Sun Nov 26 01:24:29 CET 2006


Author: shadzik                      Date: Sun Nov 26 00:24:29 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- fix sdl build, works

---- Files affected:
SPECS:
   mpg123.spec (1.69 -> 1.70) 

---- Diffs:

================================================================
Index: SPECS/mpg123.spec
diff -u SPECS/mpg123.spec:1.69 SPECS/mpg123.spec:1.70
--- SPECS/mpg123.spec:1.69	Mon Nov  6 20:10:07 2006
+++ SPECS/mpg123.spec	Sun Nov 26 01:24:22 2006
@@ -8,7 +8,7 @@
 %bcond_without	alsa	# disable alsa support
 %bcond_without	jack	# disable jack support
 %bcond_without	nas	# diasble nas support
-%bcond_with	sdl	# disable sdl support
+%bcond_without	sdl	# disable sdl support
 #
 %ifarch pentium3 pentium4 athlon
 %define		with_mmx	1
@@ -258,7 +258,8 @@
 %configure \
 	%{?with_sdl:--with-audio=sdl} \
 	%{?with_mmx:--with-cpu=mmx}
-%{__make}
+%{__make} \
+	LDFLAGS="%{rpmldflags} -lSDL"
 mv -f src/mpg123 src/mpg123-sdl
 %endif
 
@@ -338,6 +339,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.70  2006/11/26 00:24:22  shadzik
+- fix sdl build, works
+
 Revision 1.69  2006/11/06 19:10:07  qboosh
 - formatting, pl cosmetics
 - mmx is always available on pentium3/pentium4/athlon
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/mpg123.spec?r1=1.69&r2=1.70&f=u



More information about the pld-cvs-commit mailing list