Source: nss-pem Version: 1.0.5-1 Tags: patch User: debian-cr...@lists.debian.org Usertags: ftcbfs
nss-pem fails to cross build from source, because it does not pass cross flags to cmake. The easiest way of doing so - using dh_auto_configure - makes nss-pem cross buildable. Please consider applying the attached patch. Helmut
diff --minimal -Nru nss-pem-1.0.5/debian/changelog nss-pem-1.0.5/debian/changelog --- nss-pem-1.0.5/debian/changelog 2019-07-08 15:01:00.000000000 +0200 +++ nss-pem-1.0.5/debian/changelog 2019-07-21 16:11:41.000000000 +0200 @@ -1,3 +1,10 @@ +nss-pem (1.0.5-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Let dh_auto_configure pass cross flags to cmake. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Sun, 21 Jul 2019 16:11:41 +0200 + nss-pem (1.0.5-1) unstable; urgency=medium * New upstream release. diff --minimal -Nru nss-pem-1.0.5/debian/rules nss-pem-1.0.5/debian/rules --- nss-pem-1.0.5/debian/rules 2019-07-08 14:46:29.000000000 +0200 +++ nss-pem-1.0.5/debian/rules 2019-07-21 16:11:34.000000000 +0200 @@ -7,12 +7,10 @@ dh $@ --builddirectory=build/ override_dh_auto_configure: - mkdir build - cd build && cmake \ + dh_auto_configure --sourcedirectory=src -- -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \ - -DLIB_INSTALL_DIR=/usr/lib/$(DEB_HOST_MULTIARCH)/nss \ - ../src + -DLIB_INSTALL_DIR=/usr/lib/$(DEB_HOST_MULTIARCH)/nss override_dh_auto_build: (cd nss; QUILT_PATCHES=debian/patches quilt push -a; debian/rules build)