diff options
-rw-r--r-- | debian/control | 2 | ||||
-rwxr-xr-x | debian/rules | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/debian/control b/debian/control index a1a6813..152172f 100644 --- a/debian/control +++ b/debian/control @@ -85,7 +85,7 @@ Package: libxml2-dbg Architecture: any Section: debug Priority: extra -Depends: libxml2 (= ${binary:Version}), libicu52-dbg, ${misc:Depends} +Depends: libxml2 (= ${binary:Version}), ${dep:libicudbg}, ${misc:Depends} Multi-Arch: same Description: Debugging symbols for the GNOME XML library XML is a metalanguage to let you design your own markup language. diff --git a/debian/rules b/debian/rules index 8264b07..5b849df 100755 --- a/debian/rules +++ b/debian/rules @@ -138,6 +138,9 @@ endif override_dh_makeshlibs: dh_makeshlibs -a $(if $(WITH_UDEB),--add-udeb=libxml2-udeb )-V 'libxml2 (>= 2.7.4)' -- -c4 +override_dh_gencontrol: + dh_gencontrol -- -Vdep:libicudbg="`dpkg-query -f '$${Depends}' -W libicu-dev | sed 's/.*\(libicu[0-9]*\).*/\1/'`-dbg" + %: ifeq ($(DEB_BUILD_PROFILE),stage1) dh $@ --with autoreconf |