[Glibc-bsd-commits] r2401 - trunk/libfreebsd/debian

Guillem Jover guillem at alioth.debian.org
Tue Apr 7 01:50:40 UTC 2009


Author: guillem
Date: 2009-04-07 01:50:40 +0000 (Tue, 07 Apr 2009)
New Revision: 2401

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

To be able to extract space separated options from DEB_BUILD_OPTIONS.


Modified: trunk/libfreebsd/debian/changelog
===================================================================
--- trunk/libfreebsd/debian/changelog	2009-04-07 01:49:22 UTC (rev 2400)
+++ trunk/libfreebsd/debian/changelog	2009-04-07 01:50:40 UTC (rev 2401)
@@ -14,6 +14,8 @@
     - Rename install to install-arch.
     - Remove dependencies from binary-indep.
     - Change binary-arch to depend only on install-arch.
+    - Use $(filter ...) instead of $(findstring ...) to extract space
+      separated options from DEB_BUILD_OPTIONS.
 
  -- Guillem Jover <guillem at debian.org>  Thu, 17 May 2007 20:27:34 +0300
 

Modified: trunk/libfreebsd/debian/rules
===================================================================
--- trunk/libfreebsd/debian/rules	2009-04-07 01:49:22 UTC (rev 2400)
+++ trunk/libfreebsd/debian/rules	2009-04-07 01:50:40 UTC (rev 2401)
@@ -10,7 +10,7 @@
 
 CFLAGS = -Wall -g
 
-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