summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9f35560)
raw | patch | inline | side by side (parent: 9f35560)
author | Sebastian Harl <sh@tokkee.org> | |
Thu, 28 Jan 2010 21:10:47 +0000 (22:10 +0100) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Thu, 28 Jan 2010 21:10:47 +0000 (22:10 +0100) |
This makes sure that we match words rather than substrings.
debian/changelog | patch | blob | history | |
debian/rules | patch | blob | history |
diff --git a/debian/changelog b/debian/changelog
index d04fe34fab64215f5ceed9d665c2e622933eb5de..f746fe20a269fe491b1fb8704de2c92e94860acb 100644 (file)
--- a/debian/changelog
+++ b/debian/changelog
disabled accidentally by using findstring (which does a substring match)
to compare DEB_BUILD_ARCH with kfreebsd-{amd64,i386}; thanks to ilia
kudirov for reporting this (Closes: #567259).
+ - Replaced all occurrences of 'findstring' with appropriate 'filter'
+ statements to make sure to match words rather than substrings.
- -- Sebastian Harl <tokkee@debian.org> Thu, 28 Jan 2010 21:58:35 +0100
+ -- Sebastian Harl <tokkee@debian.org> Thu, 28 Jan 2010 22:09:16 +0100
collectd (4.9.1-1) unstable; urgency=low
diff --git a/debian/rules b/debian/rules
index 9ffcc689d1c78c3da9166bb7d81da058f10ec91b..94a80455f49d6eaa4b8212a05a2693b9d5228db6 100755 (executable)
--- a/debian/rules
+++ b/debian/rules
CPPFLAGS += -UCONFIGFILE
CPPFLAGS += -DCONFIGFILE='\"/etc/collectd/collectd.conf\"'
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+ifneq (,$(filter noopt,$(DEB_BUILD_OPTIONS)))
CFLAGS += -O0
else
CFLAGS += -O2
# The static library netstat cannot be linked into shared objects on some
# architectures (see bugs #358637, #419684 and #524593 for more details).
-ifneq (,$(findstring $(DEB_BUILD_ARCH),alpha amd64 hppa ia64 ppc64 mips mipsel))
+ifneq (,$(filter alpha amd64 hppa ia64 ppc64 mips mipsel, $(DEB_BUILD_ARCH)))
confflags += --disable-netlink
endif
# The hppa buildds currently do not keep up with Java related stuff, thus
# prevending testing transitions.
-ifneq (,$(findstring $(DEB_BUILD_ARCH),hppa))
+ifneq (,$(filter hppa, $(DEB_BUILD_ARCH)))
confflags += --disable-java
endif