1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
Description: unworkable FTCBFS: hard codes the build architecture pkg-config
Author: Helmut Grohne <helmut@subdivi.de>
Bug-Debian: http://bugs.debian.org/928742
Last-Update: 2024-03-15
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -30,8 +30,9 @@
UNAME=$(shell uname)
ifneq (, $(filter Linux GNU GNU/%, $(UNAME)))
SRCS+=openbsd-compat/sha1.c
-LIBS+=$(shell pkg-config --libs libbsd-overlay)
-CFLAGS+=$(shell pkg-config --cflags libbsd-overlay)
+PKG_CONFIG?= pkg-config
+LIBS+=$(shell $(PKG_CONFIG) --libs libbsd-overlay)
+CFLAGS+=$(shell $(PKG_CONFIG) --cflags libbsd-overlay)
else
ifeq ($(UNAME),sunos)
SRCS+=openbsd-compat/err.c
|