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

Re: Arch-dependent Depends:

On Wed, Nov 15, 2000 at 12:30:53PM -0500, Adam C Powell IV wrote:
> Hello,
> I have a package which depends on atlas-dev for non-PPC, and lapack-dev
> for PPC, (atlas doesn't build on PPC because of a compiler bug).
> I noticed that freeamp has arches in Build-Depends, e.g. nasm [i386],
> but putting this in Depends: for a binary package results in an error.
> Is there any way I can do this?

You'll probably need to generate the depends at build-time. Something like

	dh_gencontrol -p<pkg> -- -DDepends="lapack-dev"
	dh_gencontrol -p<pkg> -- -DDepends="atlas-dev"

Then just ommit this dep from the control file, and it will be added at


/  Ben Collins  --  ...on that fantastic voyage...  --  Debian GNU/Linux   \
`  bcollins@debian.org  --  bcollins@openldap.org  --  bcollins@linux.com  '

Reply to: