[Build-common-hackers] Bug#262757: Need special DEB_DH_SHLIBDEPS_ARGS_$(cdbs_curpkg)

Jan Schulz Jan Schulz <debian@katzien.de>, 262757@bugs.debian.org
Sun, 01 Aug 2004 22:40:04 +0200

Package: cdbs
Version: 0.4.21-0.1
Severity: wishlist


For the eclipse package, I need some special arguments for dh_shlibdeps, so
that some parts of the native things become Suggests: and some become
Depends:. In a rule file with only one binary package, thats easy:
DEB_DH_SHLIBDEPS_ARGS :=  -- -dDepends \
        debian/libswt3-gtk-java/usr/lib/jni/libswt-gtk-$(SWT_VER).so \
	debian/libswt3-gtk-java/usr/lib/jni/libswt-pi-gtk-$(SWT_VER).so \
        debian/libswt3-gtk-java/usr/lib/jni/libswt-atk-gtk-$(SWT_VER).so \
	        -dSuggests \
        debian/libswt3-gtk-java/usr/lib/jni/libswt-gnome-gtk-$(SWT_VER).so \

In a multiple binary package source package, I also have found a workaround (
I hope, setting DEB_DH_SHLIBDEPS_ARGS := DEB_DH_SHLIBDEPS_ARGS_$(cdbs_curpkg)
and then specifying this variables. Learning make is also fun...), but I
consider this a really bad one... I hope that can be implemented properly

Nice greetings, Jan

-- System Information:
Debian Release: 3.1
  APT prefers experimental
  APT policy: (990, 'experimental'), (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.6-1-k7
Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro

-- no debconf information