[Glibc-bsd-commits] r2453 - trunk/freebsd-utils/debian

Guillem Jover guillem at alioth.debian.org
Fri Apr 17 23:52:13 UTC 2009


Author: guillem
Date: 2009-04-17 23:52:13 +0000 (Fri, 17 Apr 2009)
New Revision: 2453

Modified:
   trunk/freebsd-utils/debian/changelog
   trunk/freebsd-utils/debian/rules
Log:
Use $(filter ...) instead of $(findstring ...)

To extract space separated options from DEB_BUILD_OPTIONS.


Modified: trunk/freebsd-utils/debian/changelog
===================================================================
--- trunk/freebsd-utils/debian/changelog	2009-04-17 23:50:30 UTC (rev 2452)
+++ trunk/freebsd-utils/debian/changelog	2009-04-17 23:52:13 UTC (rev 2453)
@@ -1,3 +1,10 @@
+freebsd-utils (7.1-5) UNRELEASED; urgency=low
+
+  * Use $(filter ...) instead of $(findstring ...) to extract space separated
+    options from DEB_BUILD_OPTIONS in debian/rules.
+
+ -- Guillem Jover <guillem at debian.org>  Sat, 18 Apr 2009 01:51:15 +0200
+
 freebsd-utils (7.1-4) unstable; urgency=low
 
   * Rename module-init-tools to kldutils and net-tools to freebsd-net-tools,

Modified: trunk/freebsd-utils/debian/rules
===================================================================
--- trunk/freebsd-utils/debian/rules	2009-04-17 23:50:30 UTC (rev 2452)
+++ trunk/freebsd-utils/debian/rules	2009-04-17 23:52:13 UTC (rev 2453)
@@ -7,7 +7,7 @@
 
 CFLAGS = -Wall -g -pipe -fPIC -I. -D_GNU_SOURCE -D'__FBSDID(string)='
 
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+ifneq (,$(filter noopt,$(DEB_BUILD_OPTIONS)))
 	CFLAGS += -O0
 else
 	CFLAGS += -O2




More information about the Glibc-bsd-commits mailing list