SPECS: quake3.spec - fixed LDFLAGS

sparky sparky at pld-linux.org
Fri Oct 24 20:36:13 CEST 2008


Author: sparky                       Date: Fri Oct 24 18:36:13 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- fixed LDFLAGS

---- Files affected:
SPECS:
   quake3.spec (1.79 -> 1.80) 

---- Diffs:

================================================================
Index: SPECS/quake3.spec
diff -u SPECS/quake3.spec:1.79 SPECS/quake3.spec:1.80
--- SPECS/quake3.spec:1.79	Fri Oct 24 18:13:38 2008
+++ SPECS/quake3.spec	Fri Oct 24 20:36:07 2008
@@ -22,6 +22,7 @@
 Patch2:		%{name}-vm_powerpc.patch
 Patch3:		%{name}-vm_powerpc-Makefile.patch
 Patch4:		%{name}-strict-aliasing.patch
+Patch5:		%{name}-Makefile-LDFLAGS.patch
 URL:		http://ioquake3.org/
 BuildRequires:	OpenAL-devel
 BuildRequires:	OpenGL-devel
@@ -124,6 +125,7 @@
 %patch2 -p0
 %patch3 -p0
 %patch4 -p0
+%patch5 -p0
 
 %build
 cat << 'EOF' > Makefile.local
@@ -146,17 +148,15 @@
 USE_LOCAL_HEADERS = 0
 GENERATE_DEPENDENCIES = 0
 
+DEFAULT_BASEDIR = %{_datadir}/games/%{name}
+
 override OPTIMIZE = %{rpmcflags} \
-	-DDEFAULT_BASEDIR=\\\"%{_datadir}/games/%{name}\\\" \
 	-DQUAKELIBDIR=\\\"%{_libdir}/%{name}\\\"
 
 # vim spec bug: "
 
 override CC = %{__cc}
-
-# broken LDFLAGS use
-#override LDFLAGS = %{rpmldflags}
-
+override LDFLAGS = %{rpmldflags}
 override BR = rel
 
 EOF
@@ -275,6 +275,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.80  2008/10/24 18:36:07  sparky
+- fixed LDFLAGS
+
 Revision 1.79  2008/10/24 16:13:38  sparky
 - use svg icon
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/quake3.spec?r1=1.79&r2=1.80&f=u



More information about the pld-cvs-commit mailing list