r12452 - packages/trunk/pingus/debian

Bertrand Marc bbk-guest at alioth.debian.org
Sun Jun 5 18:01:23 UTC 2011


Author: bbk-guest
Date: 2011-06-05 18:01:22 +0000 (Sun, 05 Jun 2011)
New Revision: 12452

Modified:
   packages/trunk/pingus/debian/changelog
   packages/trunk/pingus/debian/rules
Log:
Fix FTBS on KFreeBSD

Modified: packages/trunk/pingus/debian/changelog
===================================================================
--- packages/trunk/pingus/debian/changelog	2011-06-04 00:22:32 UTC (rev 12451)
+++ packages/trunk/pingus/debian/changelog	2011-06-05 18:01:22 UTC (rev 12452)
@@ -12,8 +12,9 @@
   * Added myself to the Uploaders.
   * Adjust lintian override "missing-dep-for-interpreter guile" since 
     lintian change its error message.
+  * debian/rules: fix FTBS on kfreebsd.
 
- -- Bertrand Marc <beberking at gmail.com>  Sun, 15 May 2011 16:36:49 +0200
+ -- Bertrand Marc <beberking at gmail.com>  Sun, 05 Jun 2011 20:00:25 +0200
 
 pingus (0.7.2-4) unstable; urgency=low
 

Modified: packages/trunk/pingus/debian/rules
===================================================================
--- packages/trunk/pingus/debian/rules	2011-06-04 00:22:32 UTC (rev 12451)
+++ packages/trunk/pingus/debian/rules	2011-06-05 18:01:22 UTC (rev 12452)
@@ -3,11 +3,16 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
+DEB_BUILD_ARCH_OS := $(shell dpkg-architecture -qDEB_BUILD_ARCH_OS)
+ifeq ($(DEB_BUILD_ARCH_OS),kfreebsd)
+    SCONS_OPTS:='with_linuxevdev=no with_linuxusbmouse=no'
+endif
+
 configure: configure-stamp
 configure-stamp:
 	dh_testdir
 	cat debian/options.cache | sed -e 's/:CFLAGS:/$(CFLAGS)/g' > options.cache
-	scons configure prefix=/usr resources_dir=/usr/share/games/pingus lib_dir=$(CURDIR)
+	scons configure $(SCONS_OPTS) prefix=/usr resources_dir=/usr/share/games/pingus lib_dir=$(CURDIR)
 	touch $@
 
 build: build-stamp




More information about the Pkg-games-commits mailing list