Bug#900705: closed by Ross Gammon <rossgammon@debian.org> (Bug#900705: fixed in x42-plugins 20190714-1)
Control: reopen -1
On Wed, Aug 07, 2019 at 02:42:05PM +0000, Debian Bug Tracking System wrote:
> * New upstream version 20190714
> - Fixes cross building failure, Helmut Grohne's patches
> applied upstream (Closes: #900705)
The upstream bits were applied. The debian bits of my patch are missing
and still x42-plugins fails to cross build. Beyond that, the new
upstream release adds new uses of bare pkg-config. You'll also need the
attached patch now.
Helmut
--- x42-plugins-20190714.orig/mididebug.lv2/Makefile
+++ x42-plugins-20190714/mididebug.lv2/Makefile
@@ -9,6 +9,7 @@
CFLAGS ?= $(OPTIMIZATIONS) -Wall
LIBDIR ?= lib
+PKG_CONFIG?=pkg-config
STRIP?=strip
STRIPFLAGS?=-s
@@ -61,17 +62,17 @@
include git2lv2.mk
# check for build-dependencies
-ifeq ($(shell pkg-config --exists lv2 || echo no), no)
+ifeq ($(shell $(PKG_CONFIG) --exists lv2 || echo no), no)
$(error "LV2 SDK was not found")
endif
# check for lv2_atom_forge_object new in 1.8.1 deprecates lv2_atom_forge_blank
-ifeq ($(shell pkg-config --atleast-version=1.8.1 lv2 && echo yes), yes)
+ifeq ($(shell $(PKG_CONFIG) --atleast-version=1.8.1 lv2 && echo yes), yes)
override CFLAGS += -DHAVE_LV2_1_8
endif
override CFLAGS += -fPIC -std=c99
-override CFLAGS += `pkg-config --cflags lv2`
+override CFLAGS += `$(PKG_CONFIG) --cflags lv2`
# build target definitions
default: all
Reply to: