r3698 - in packages/trunk/stormbaancoureur/debian: . patches

Miriam Ruiz baby-guest at alioth.debian.org
Wed Aug 15 17:13:52 UTC 2007


Author: baby-guest
Date: 2007-08-15 17:13:52 +0000 (Wed, 15 Aug 2007)
New Revision: 3698

Added:
   packages/trunk/stormbaancoureur/debian/patches/makefile_cflags.patch
Modified:
   packages/trunk/stormbaancoureur/debian/patches/series
   packages/trunk/stormbaancoureur/debian/rules
Log:
Allow custom CFLAGS from rules



Added: packages/trunk/stormbaancoureur/debian/patches/makefile_cflags.patch
===================================================================
--- packages/trunk/stormbaancoureur/debian/patches/makefile_cflags.patch	                        (rev 0)
+++ packages/trunk/stormbaancoureur/debian/patches/makefile_cflags.patch	2007-08-15 17:13:52 UTC (rev 3698)
@@ -0,0 +1,19 @@
+--- stormbaancoureur-1.5.orig/src-stormbaancoureur/Makefile
++++ stormbaancoureur-1.5/src-stormbaancoureur/Makefile
+@@ -8,13 +8,15 @@
+ #ODEPREFIX=$(HOME)
+ #CXX=g++
+ 
++CFLAGS=-O2 -g -Wall
++
+ # END OF CUSTOM SETTINGS
+ 
+ CXXFLAGS=\
+   -I$(ODEPREFIX)/include \
+   -I$(PLIBPREFIX)/include \
+   -I../src-common \
+-  -O2 -g -Wall
++  $(CFLAGS)
+ 
+ LFLAGS=\
+   -L$(PLIBPREFIX)/lib \

Modified: packages/trunk/stormbaancoureur/debian/patches/series
===================================================================
--- packages/trunk/stormbaancoureur/debian/patches/series	2007-08-15 17:04:19 UTC (rev 3697)
+++ packages/trunk/stormbaancoureur/debian/patches/series	2007-08-15 17:13:52 UTC (rev 3698)
@@ -1,2 +1,3 @@
 makefile_libode.patch
+makefile_cflags.patch
 fullscreen_optional.patch

Modified: packages/trunk/stormbaancoureur/debian/rules
===================================================================
--- packages/trunk/stormbaancoureur/debian/rules	2007-08-15 17:04:19 UTC (rev 3697)
+++ packages/trunk/stormbaancoureur/debian/rules	2007-08-15 17:13:52 UTC (rev 3698)
@@ -29,7 +29,7 @@
 build-stamp: configure-stamp 
 	dh_testdir
 
-	$(MAKE) -C src-stormbaancoureur
+	$(MAKE) -C src-stormbaancoureur CFLAGS="$(CFLAGS)"
 	#docbook-to-man debian/stormbaancoureur.sgml > stormbaancoureur.1
 	touch $@
 




More information about the Pkg-games-commits mailing list