Package: profnet
Version: 1.0.22-3
Severity: important
Tags: patch
User: [email protected]
Usertags: origin-ubuntu yakkety ubuntu-patch

Hi folks,

The latest upload of profnet has failed to build in Ubuntu, due to errors in
the passing of CFLAGS/LDFLAGS to the upstream build system.

I actually have no idea how this package managed to build in Debian, since
the default LDFLAGS there also include multiple options with spaces between
them; it seems to have managed to build purely by accident.  Regardless, the
flags are not being passed correctly - only the first flag in LDFLAGS is
passed at all, and "CFLAGS" is spelled wrong in the substitution.

The attached patch corrects these problems.

Cheers,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
[email protected]                                     [email protected]
diff -Nru profnet-1.0.22/debian/rules profnet-1.0.22/debian/rules
--- profnet-1.0.22/debian/rules	2016-07-14 00:04:59.000000000 -0700
+++ profnet-1.0.22/debian/rules	2016-07-14 12:43:30.000000000 -0700
@@ -10,7 +10,7 @@
 
 override_dh_auto_build:
 	make patch
-	make CFLAGS=$(CLFAGS) LDFLAGS=$(LDFLAGS)
+	make CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)"
 
 override_dh_auto_install:
 	$(MAKE) DESTDIR=$(CURDIR)/debian/profnet-bval prefix=/usr install-bval

Reply via email to