...
 
Commits (2)
vlevel (0.5.1-4) UNRELEASED; urgency=medium
[ Helmut Grohne ]
* Fix FTCBFS: (Closes: #923617)
+ Upstream expects $(CC) to contain a C++ compiler.
+ cross.patch: Make pkg-config substitutable.
[ Axel Beckert ]
* Add DEP-3 header to Helmut's patch.
-- Axel Beckert <abe@debian.org> Sat, 02 Mar 2019 22:33:45 +0100
vlevel (0.5.1-3) unstable; urgency=medium
[ Ondřej Nový ]
......
Description: Fix FTCBFS
Author: Helmut Grohne <helmut@subdivi.de>
Bug-Debian: https://bugs.debian.org/923617
--- vlevel-0.5.1.orig/vlevel-jack/Makefile
+++ vlevel-0.5.1/vlevel-jack/Makefile
@@ -21,11 +21,12 @@
#
# This is evil, but it makes implicit link rules use g++, not gcc
CC = $(CXX)
+PKG_CONFIG ?= pkg-config
#LDFLAGS = -L/opt/local/lib
-LDFLAGS += ` pkg-config --libs-only-L jack `
+LDFLAGS += ` $(PKG_CONFIG) --libs-only-L jack `
#LDLIBS = -ljack -lpthread -framework CoreAudio -framework CoreServices -framework AudioUnit
-LDLIBS = ` pkg-config --libs-only-l jack `
-CXXFLAGS += ` pkg-config --cflags jack `
+LDLIBS = ` $(PKG_CONFIG) --libs-only-l jack `
+CXXFLAGS += ` $(PKG_CONFIG) --cflags jack `
#CXXFLAGS= -I/opt/local/include -g -v
CFLAGS = $(CXXFLAGS)
fix-hardcoded-makefile-variables.patch
recursive-make-done-properly.patch
cross.patch
......@@ -6,6 +6,9 @@ include /usr/share/dpkg/pkg-info.mk
%:
dh $@
override_dh_auto_build:
dh_auto_build -- 'CC=$$(CXX)'
override_dh_auto_install:
dh_auto_install
mv -v debian/vlevel/usr/bin/vlevel-bin debian/vlevel/usr/bin/vlevel
......