summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 99c9d55)
raw | patch | inline | side by side (parent: 99c9d55)
author | Sebastian Harl <sh@teamix.net> | |
Thu, 24 Jan 2013 15:06:40 +0000 (16:06 +0100) | ||
committer | Sebastian Harl <sh@teamix.net> | |
Thu, 24 Jan 2013 15:06:40 +0000 (16:06 +0100) |
debian/changelog | patch | blob | history | |
debian/rules | patch | blob | history |
diff --git a/debian/changelog b/debian/changelog
index 262264b06c1ab764d409ef9b5237c61c15cc0a8c..4802fcc3c90b7f8db90add1cc885c1a7207586a8 100644 (file)
--- a/debian/changelog
+++ b/debian/changelog
- Added format-security; fixing a missing printf-style format argument.
* debian/rules:
- Manually clean-up auto-generated scripts/rrd_modify.pl.
+ - Use dpkg-buildflags to determine CPPFLAGS/CFLAGS.
* debian/icinga-module.cfg, debian/rules:
- Provide a sample Icinga module configuration; thanks to Christoph Anton
Mitterer for providing this (Closes: #683459).
diff --git a/debian/rules b/debian/rules
index 51098b3304d94da10482a3cbae387f25e3f35158..e3ea6e59bdf44968bd4987b39e769686c67a4db8 100755 (executable)
--- a/debian/rules
+++ b/debian/rules
CROSS= --build $(DEB_BUILD_GNU_TYPE)
endif
+CPPFLAGS = $(shell dpkg-buildflags --get CPPFLAGS)
+CFLAGS = $(shell dpkg-buildflags --get CFLAGS)
+
get-orig-source:
uscan --force --verbose --rename
--without-kohana \
--with-kohana_system=/usr/share/php/kohana2/system \
--with-httpd-conf=/etc/apache2/conf.d \
- CFLAGS="$(CFLAGS)"
+ CPPFLAGS="$(CPPFLAGS)" CFLAGS="$(CFLAGS)"
build: build-arch build-indep