Your message dated Wed, 08 Sep 2021 16:37:34 +0800
with message-id <[email protected]>
and subject line Re: libglc-dev: move quesoglc.pc to a multiarch location
has caused the Debian Bug report #901329,
regarding libglc-dev: move quesoglc.pc to a multiarch location
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 [email protected]
immediately.)


-- 
901329: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=901329
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libglc-dev
Version: 0.7.2-5
Tags: patch
User: [email protected]
Usertags: rebootstrap
Control: affects -1 + src:warzone2100

warzone2100 fails to cross build from source, because it cannot find
quesoglc.pc. During cross compilation, pkg-config does not search
/usr/lib/pkgconfig. Thus quesoglc.pc should be moved to a multiarch
libdir. The attached patch implements that. Please consider applying it.

Helmut
diff --minimal -Nru quesoglc-0.7.2/debian/changelog 
quesoglc-0.7.2/debian/changelog
--- quesoglc-0.7.2/debian/changelog     2011-08-15 19:44:42.000000000 +0200
+++ quesoglc-0.7.2/debian/changelog     2018-06-11 16:35:25.000000000 +0200
@@ -1,3 +1,10 @@
+quesoglc (0.7.2-5.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Configure with a multiarch --libdir. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Mon, 11 Jun 2018 16:35:25 +0200
+
 quesoglc (0.7.2-5) unstable; urgency=low
 
   [ Paul Wise ]
diff --minimal -Nru quesoglc-0.7.2/debian/libglc-dev.install 
quesoglc-0.7.2/debian/libglc-dev.install
--- quesoglc-0.7.2/debian/libglc-dev.install    2011-08-15 10:42:16.000000000 
+0200
+++ quesoglc-0.7.2/debian/libglc-dev.install    2018-06-11 16:35:25.000000000 
+0200
@@ -1,4 +1,4 @@
 usr/include/*
-usr/lib/libGLC.a
-usr/lib/libGLC.so
-usr/lib/pkgconfig/quesoglc.pc
+usr/lib/*/libGLC.a
+usr/lib/*/libGLC.so
+usr/lib/*/pkgconfig/quesoglc.pc
diff --minimal -Nru quesoglc-0.7.2/debian/libglc0.install 
quesoglc-0.7.2/debian/libglc0.install
--- quesoglc-0.7.2/debian/libglc0.install       2011-03-11 07:19:31.000000000 
+0100
+++ quesoglc-0.7.2/debian/libglc0.install       2018-06-11 16:35:25.000000000 
+0200
@@ -1 +1 @@
-usr/lib/libGLC.so.*
+usr/lib/*/libGLC.so.*
diff --minimal -Nru quesoglc-0.7.2/debian/rules quesoglc-0.7.2/debian/rules
--- quesoglc-0.7.2/debian/rules 2011-08-15 19:20:56.000000000 +0200
+++ quesoglc-0.7.2/debian/rules 2018-06-11 16:35:25.000000000 +0200
@@ -1,5 +1,7 @@
 #!/usr/bin/make -f
 
+include /usr/share/dpkg/architecture.mk
+
 %:
        dh $@ --parallel --with autoreconf
 
@@ -9,11 +11,11 @@
 
 override_dh_auto_configure:
        rm -rf src/glew.c src/fribidi
-       dh_auto_configure
+       dh_auto_configure -- --libdir='$${prefix}/lib/$(DEB_HOST_MULTIARCH)'
 
 override_dh_auto_install:
        dh_auto_install
-       rm $(CURDIR)/debian/tmp/usr/lib/libGLC.la
+       rm $(CURDIR)/debian/tmp/usr/lib/*/libGLC.la
 
 override_dh_install:
        dh_install --fail-missing

--- End Message ---
--- Begin Message ---
Version: 0.7.2-6

This was fixed in commit 0b649900a88f1731c9b23494680823d885c4ee73 by
upgrading to debhelper compat 9, which automatically sets libdir to a
multiarch dir. Apologies for not closing this bug at the time.

-- 
bye,
pabs

https://wiki.debian.org/PaulWise

Attachment: signature.asc
Description: This is a digitally signed message part


--- End Message ---

Reply via email to