Package: gkrellm Version: 2.3.10-2 Tags: patch User: debian-cr...@lists.debian.org Usertags: ftcbfs Control: affects -1 + src:gkrelluim
gkrelluim fails to cross build from source, because it cannot find gkrellm.pc. During cross compilation, pkg-config only searches /usr/share/pkgconfig and /usr/lib/<triplet>/pkgconfig. It does not search /usr/lib/pkgconfig. Thus gkrellm.pc needs to be moved. Please consider applying the attached patch. Helmut
diff --minimal -Nru gkrellm-2.3.10/debian/changelog gkrellm-2.3.10/debian/changelog --- gkrellm-2.3.10/debian/changelog 2018-05-14 01:16:12.000000000 +0200 +++ gkrellm-2.3.10/debian/changelog 2020-02-08 20:49:05.000000000 +0100 @@ -1,3 +1,10 @@ +gkrellm (2.3.10-2.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Install gkrellm.pc to a multiarch location. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Sat, 08 Feb 2020 20:49:05 +0100 + gkrellm (2.3.10-2) unstable; urgency=medium * debian/control diff --minimal -Nru gkrellm-2.3.10/debian/gkrellm.install gkrellm-2.3.10/debian/gkrellm.install --- gkrellm-2.3.10/debian/gkrellm.install 2018-05-14 01:16:12.000000000 +0200 +++ gkrellm-2.3.10/debian/gkrellm.install 2020-02-08 20:49:05.000000000 +0100 @@ -2,7 +2,7 @@ debian/tmp/usr/bin/gkrellm /usr/bin/ debian/tmp/usr/share/man/man1/gkrellm.1 /usr/share/man/man1/ debian/tmp/usr/share/locale/* /usr/share/locale/ -debian/tmp/usr/lib/pkgconfig/* /usr/lib/pkgconfig/ +usr/lib/*/pkgconfig/* debian/tmp/usr/include/gkrellm2/gkrellm.h /usr/include/gkrellm2/ debian/tmp/usr/include/gkrellm2/log.h /usr/include/gkrellm2/ debian/tmp/usr/include/gkrellm2/gkrellm-public-proto.h /usr/include/gkrellm2 diff --minimal -Nru gkrellm-2.3.10/debian/rules gkrellm-2.3.10/debian/rules --- gkrellm-2.3.10/debian/rules 2018-05-14 01:16:12.000000000 +0200 +++ gkrellm-2.3.10/debian/rules 2020-02-08 20:49:04.000000000 +0100 @@ -1,5 +1,9 @@ #!/usr/bin/make -f +include /usr/share/dpkg/architecture.mk + +MAKE_VARS=PREFIX=/usr 'PKGCONFIGDIR=$$(INSTALLROOT)/lib/$(DEB_HOST_MULTIARCH)/pkgconfig' + %: dh $@ @@ -7,10 +11,10 @@ dh_installinit -u"defaults 21" override_dh_auto_build: - dh_auto_build -- PREFIX=/usr without-ssl=1 + dh_auto_build -- $(MAKE_VARS) without-ssl=1 override_dh_auto_install: - $(MAKE) install DESTDIR=`pwd`/debian/tmp PREFIX=/usr + $(MAKE) install DESTDIR=`pwd`/debian/tmp $(MAKE_VARS) override_dh_clean: dh_clean