[Glibc-bsd-commits] r2451 - trunk/ufsutils/debian

Guillem Jover guillem at alioth.debian.org
Fri Apr 17 23:49:08 UTC 2009


Author: guillem
Date: 2009-04-17 23:49:08 +0000 (Fri, 17 Apr 2009)
New Revision: 2451

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

To extract space separated options from DEB_BUILD_OPTIONS.


Modified: trunk/ufsutils/debian/changelog
===================================================================
--- trunk/ufsutils/debian/changelog	2009-04-15 20:08:31 UTC (rev 2450)
+++ trunk/ufsutils/debian/changelog	2009-04-17 23:49:08 UTC (rev 2451)
@@ -1,3 +1,10 @@
+ufsutils (7.1-3) 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:47:10 +0200
+
 ufsutils (7.1-2) unstable; urgency=low
 
   [ Petr Salinger ]

Modified: trunk/ufsutils/debian/rules
===================================================================
--- trunk/ufsutils/debian/rules	2009-04-15 20:08:31 UTC (rev 2450)
+++ trunk/ufsutils/debian/rules	2009-04-17 23:49:08 UTC (rev 2451)
@@ -24,13 +24,13 @@
 CFLAGS += -D_FILE_OFFSET_BITS=64 -I$(CURDIR)/freebsd
 endif
 
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+ifneq (,$(filter noopt,$(DEB_BUILD_OPTIONS)))
 	CFLAGS += -O0
 else
 	CFLAGS += -O2
 endif
 
-ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
+ifeq (,$(filter nostrip,$(DEB_BUILD_OPTIONS)))
 	INSTALL_PROGRAM += -s
 endif
 




More information about the Glibc-bsd-commits mailing list