On 30 December 2013 at 10:08, Julian Gilbey wrote:
| On Sun, Dec 15, 2013 at 06:33:20PM -0600, Dirk Eddelbuettel wrote:
| > | # dpkg 1.17.2 fixed a bug with the definition of FFLAGS in dpkg-buildflags
| > | dpkg_version = $(shell dpkg -s dpkg-dev | grep '^Version:' | cut -d' '
-f2)
| > | newdpkg = $(shell if dpkg --compare-versions $(dpkg_version) ge
| > | 1.17.2; then echo "yes"; else echo "no"; fi)
| > |
| > | ifeq ($newdpkg,"yes")
| > | fflags = $(shell dpkg-buildflags --get FFLAGS)
| > | else
| > | fflags = $(shell dpkg-buildflags --get CFLAGS)
| > | endif
| >
| > Yes, that may do. In general we just have to be a little careful. But I have
| > imposed change on them, and they know how to just patch
debian/{rules,control}
| > as needed.
|
| Actually, there's probably an even simpler solution: just have
| fflags = $(shell dpkg-buildflags --get FFLAGS)
| unconditionally. This result is no worse than the existing
| debian/rules on wheezy, and will be better on jessie if the latest
| dpkg-dev is used (which it will be on all of the autobuilders).
I *finally* applied this yesterday. Thanks so much for prodding me to do this.
Dirk
--
Dirk Eddelbuettel | [email protected] | http://dirk.eddelbuettel.com
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]