It's not enough to get xhydra to build—currently all arguments given to the top-level configure are discarded when invoking xhydra's configure script—but upstream gratefully decided to add a PKG_CONFIG variable for us.
While I experiment to find what the best way to fix this is, I've
attached a new tentative patch. I see two options and I'll try to
figure out which is cleaner:
* making the top-level configure and make_xhydra.sh script pass along
dh_auto_configure's arguments to xhydra's configure script, or
* calling dh_auto_{configure,build,install} twice ourselves, once for
the top-level hydra and a second time for xhydra separately.
diff -ur hydra-9.1.orig/debian/rules hydra-9.1/debian/rules --- hydra-9.1.orig/debian/rules 2021-02-20 08:42:37.447625319 -0500 +++ hydra-9.1/debian/rules 2021-02-20 08:44:06.143398962 -0500 @@ -1,11 +1,12 @@ #!/usr/bin/make -f - +include /usr/share/dpkg/architecture.mk +include /usr/share/dpkg/buildtools.mk #export DH_VERBOSE=1 export DEB_BUILD_MAINT_OPTIONS = hardening=+all INSTALL := install -m 755 %: - dh $@ + CC=$(CC) PKG_CONFIG=$(DEB_HOST_GNU_TYPE)-pkg-config dh $@ override_dh_auto_install: $(INSTALL) hydra $(CURDIR)/debian/hydra/usr/bin
signature.asc
Description: This is a digitally signed message part

