Hi, I've NMU'd your package. Please find the patch that I used attached.
Some comments: - You might want to use something like: dh_makeshlibs -V "libopts25 (>= 1:5.10)" This would require that you update this properly on new release. I've just used -V would would just base it on the upstream version. - I've just removed some code from autoopts-config.in. It says it's autogenerated, but I can't find the source for that. Upstream probably added this code for some reason, so might want a better patch. In any case, there is no reason to add the rpath on a Debian system since it's configured for /usr/lib and that's always in the dynamic linker's search path. I didn't remove the -L/usr/lib because it doesn't hurt anything. Kurt
diff -u autogen-5.10/debian/changelog autogen-5.10/debian/changelog --- autogen-5.10/debian/changelog +++ autogen-5.10/debian/changelog @@ -1,3 +1,12 @@ +autogen (1:5.10-1.1) unstable; urgency=low + + * Non-maintainer upload. + * Set shlibs so that other packages get proper Depends (Closes: #562791) + * Don't let autoopts-config return an rpath. This is not useful on any + Debian system. (Closes: #562607) + + -- Kurt Roeckx <[email protected]> Sat, 30 Jan 2010 20:13:56 +0100 + autogen (1:5.10-1) unstable; urgency=low * New upstream release. diff -u autogen-5.10/debian/rules autogen-5.10/debian/rules --- autogen-5.10/debian/rules +++ autogen-5.10/debian/rules @@ -72,7 +72,7 @@ dh_strip dh_compress dh_fixperms - dh_makeshlibs + dh_makeshlibs -V dh_installdeb dh_shlibdeps dh_gencontrol only in patch2: unchanged: --- autogen-5.10.orig/autoopts/autoopts-config.in +++ autogen-5.10/autoopts/autoopts-config.in @@ -18,7 +18,6 @@ exec_prefix="@exec_prefix@" bindir="@bindir@" libdir="@libdir@" - ldopts="@AG_LDFLAGS@" exeext="@EXEEXT@" version="@AO_CURRENT@:@AO_REVISION@:@AO_AGE@" dotver="@ao_curr...@.@ao_revis...@.@AO_AGE@" @@ -29,10 +28,6 @@ libsrc="${pkgdatadir}/libopts-${dotver}.tar.gz" static_libs="${libdir}/libopts.a" cflags="-I${includedir}" -test -n "${ldopts}" && { - ldflags="${ldopts}${libdir} ${ldflags}" - libs=${ldflags} -} test "${includedir}" = "/usr/include" && cflags="" optlist="\ autogen bindir cflags datadir datarootdir dotver

