SPECS: xmoto.spec - added libs patch: --as-needed fixed instead of...

sparky sparky at pld-linux.org
Sun Aug 6 18:33:31 CEST 2006


Author: sparky                       Date: Sun Aug  6 16:33:31 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added libs patch: --as-needed fixed instead of disabling it

---- Files affected:
SPECS:
   xmoto.spec (1.21 -> 1.22) 

---- Diffs:

================================================================
Index: SPECS/xmoto.spec
diff -u SPECS/xmoto.spec:1.21 SPECS/xmoto.spec:1.22
--- SPECS/xmoto.spec:1.21	Sat Aug  5 23:07:11 2006
+++ SPECS/xmoto.spec	Sun Aug  6 18:33:26 2006
@@ -10,6 +10,7 @@
 # Source0-md5:	0404467792034dd221b92303f2750ac7
 Source1:	%{name}.png
 Source2:	%{name}.desktop
+Patch0:		%{name}-libs.patch
 URL:		http://xmoto.sourceforge.net/
 BuildRequires:	OpenGL-GLU-devel
 BuildRequires:	SDL-devel
@@ -24,8 +25,6 @@
 BuildRequires:	pkgconfig
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define		filterout_ld	(-Wl,)?--as-needed
-
 %description
 X-Moto is a challenging 2D motocross platform game, where physics play
 an all important role in the gameplay. You need to control your bike
@@ -46,6 +45,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %{__libtoolize}
@@ -54,8 +54,7 @@
 %{__automake}
 
 %configure
-%{__make} \
-	GL_LIBS="-lGL"
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -84,6 +83,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.22  2006/08/06 16:33:26  sparky
+- added libs patch: --as-needed fixed instead of disabling it
+
 Revision 1.21  2006/08/05 21:07:11  sparky
 - convert no_build_with_as_needed 1 to filterout_ld -Wl,--as-needed
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/xmoto.spec?r1=1.21&r2=1.22&f=u



More information about the pld-cvs-commit mailing list