[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#939810: marked as done (dkopp FTCBFS: uses the build architecture pkg-config)



Your message dated Sat, 19 Apr 2025 13:22:13 +0800
with message-id <4815e8c1-71ff-4b6d-bb45-12f9db8f37a1@debian.org>
and subject line 7.7-1
has caused the Debian Bug report #939810,
regarding dkopp FTCBFS: uses the build architecture pkg-config
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
939810: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=939810
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: dkopp
Version: 6.5-1
Tags: patch upstream
User: debian-cross@lists.debian.org
Usertags: ftcbfs

dkopp fails to cross build from source, because the upstream Makefile
hard codes the build architcture pkg-config. Please consider applying
the attached patch.

Helmut
--- dkopp-6.5.orig/Makefile
+++ dkopp-6.5/Makefile
@@ -8,6 +8,7 @@
 CXXFLAGS ?= -O2 -Wall -ggdb 
 LDFLAGS ?= -rdynamic -lpthread
 PREFIX ?= /usr
+PKG_CONFIG ?= pkg-config
 
 # target install directories
 BINDIR = $(PREFIX)/bin
@@ -18,8 +19,8 @@
 MANDIR = $(PREFIX)/share/man/man1
 MENUFILE = $(PREFIX)/share/applications/$(PROGRAM).desktop
 
-CFLAGS = $(CXXFLAGS) -c `pkg-config --cflags gtk+-3.0`
-LIBS = `pkg-config --libs gtk+-3.0` -lpthread
+CFLAGS = $(CXXFLAGS) -c `$(PKG_CONFIG) --cflags gtk+-3.0`
+LIBS = `$(PKG_CONFIG) --libs gtk+-3.0` -lpthread
 
 $(PROGRAM): $(PROGRAM).o zfuncs.o
 	$(CXX) $(LDFLAGS) $(PROGRAM).o zfuncs.o $(LIBS) -o $(PROGRAM)  

--- End Message ---
--- Begin Message ---
Version: 7.7-1


-- 
肖盛文 xiao sheng wen -- Debian Developer(atzlinux)
Debian QA page: https://qa.debian.org/developer.php?login=atzlinux%40debian.org
Debian salsa: https://salsa.debian.org/atzlinux-guest
GnuPG Public Key: 0x00186602339240CB

Attachment: OpenPGP_0x00186602339240CB.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


--- End Message ---

Reply to: