[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: ${misc:Depends} breaking with Module::Build



Jens Porup wrote:
> Well, I finally got my in-house perl apps packaged correctly, but apt
> isn't picking up the requires => packages listed in my Build.PL.
>
> 	dpkg-gencontrol: warning: unknown substitution variable ${misc:Depends}
>
> How do I make Module::Build make these dependencies forcing and binding?

Module::Build can't do that for you, "Automatic generation of
miscellaneous dependencies" is a debhelper feature.  See the debhelper
man-page.  (${misc:Depends} is a substitution variable for dependencies
caused by using certain debhelper features, not for Perl dependencies.)

You may want to look at the dh_perl man-page for automating the main
"perl" dependency, but as far as I know there is no automatic way to
generate the Debian dependencies for required Perl module packages.  You
need to add them to the control file manually.



Reply to: