Re: Package modifying its own control at build?
#include <hallo.h>
Marcus Brinkmann wrote on Fri Mar 09, 2001 um 11:53:39AM:
> This can only be avoided by having architecture specific dependencies
> like libc6-dev (>= 2.1.95) [linux], libc0.2-dev (>= 2.1.95) [hurd].
Why don't you just use substvars?
Put
Depends: ${shlibs:Depends}, package, package{extra:Depends}
in your control file, then test the environmen in your rules and extend
the substvars file.
if (uname | grep -i hurd); then echo 'extra:Depends=libc0.2-dev (>= 2.1.95)' >> debian/substvars
BTW: another thing I would like to see in Debian is when "Provides:"
could also define a version, sth. like "Provides: python-base (=1.2.3)"
Gr{us,eeting}s,
Eduard.
--
====================================================================
Eduard Bloch <blade@debian.org>; HP: http://eduard.bloch.com/edecosi
0xEDF008C5(GnuPG): E6EB 98E2 B885 8FF0 6C04 5C1D E106 481E EDF0 08C5
**
Zum 1.000.001. Mal: Jedes Programm, das kompliziertere Funktionen
bietet als Space Invaders verlangt eine 'zeitraubende intensive
Einarbeitung' wenn man es vernünftig nutzen möchte.
Reply to: