Thread View: linux.debian.bugs.dist
1 messages
1 total messages
Started by Helmut Grohne
Mon, 26 Oct 2026 20:20
Bug#1152204: libretro-beatle-psx FTCBFS: hard codes the build architecture pkg-config
Author: Helmut Grohne
Date: Mon, 26 Oct 2026 20:20
Date: Mon, 26 Oct 2026 20:20
60 lines
3461 bytes
3461 bytes
--PD+zf4wsNdu9IUtZ
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Source: libretro-beetle-psx
Version: 0.9.38.6+git20260227-1
Tags: patch upstream
User: debian-cross@lists.debian.org
Usertags: ftcbfs
libretro-beetle-psx regressed cross building. It now hard codes the
build architecture pkg-config and therefore fails locating required
libraries. I'm attaching a patch to make it substitutable in a way that
dh_auto_build substitutes. Please consider applying it and forwarding it
upstream.
Helmut
--PD+zf4wsNdu9IUtZ
Content-Type: text/x-diff; charset=us-ascii
Content-Disposition: attachment; filename="cross.patch"
--- libretro-beetle-psx-0.9.38.6+git20260515+ds.orig/Makefile
+++ libretro-beetle-psx-0.9.38.6+git20260515+ds/Makefile
@@ -85,6 +85,8 @@
endif
endif
+PKG_CONFIG ?= pkg-config
+
# Unix
ifneq (,$(findstring unix,$(platform)))
TARGET := $(TARGET_NAME)_libretro.so
--- libretro-beetle-psx-0.9.38.6+git20260515+ds.orig/Makefile.common
+++ libretro-beetle-psx-0.9.38.6+git20260515+ds/Makefile.common
@@ -73,8 +73,8 @@
endif
ifeq ($(SYSTEM_ZLIB), 1)
- CFLAGS += $(shell pkg-config --cflags zlib)
- LIBS += $(shell pkg-config --libs zlib)
+ CFLAGS += $(shell $(PKG_CONFIG) --cflags zlib)
+ LIBS += $(shell $(PKG_CONFIG) --libs zlib)
else
INCFLAGS += $(ZLIB_INCFLAGS)
SOURCES_C += $(ZLIB_SOURCES_C)
@@ -123,8 +123,8 @@
FLAGS += -DHAVE_CHD
ifeq ($(SYSTEM_LIBCHDR), 1)
- INCFLAGS += $(shell pkg-config --cflags libchdr)
- LIBS += $(shell pkg-config --libs libchdr)
+ INCFLAGS += $(shell $(PKG_CONFIG) --cflags libchdr)
+ LIBS += $(shell $(PKG_CONFIG) --libs libchdr)
else
FLAGS += -DCHDR_SYSTEM_ZLIB
INCFLAGS += $(LIBCHDR_INCFLAGS)
--PD+zf4wsNdu9IUtZ--
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads