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

Re: package compilation madness



On Wed, Feb 09, 2000 at 10:50:09PM +0000, Mark Brown wrote:
> On Wed, Feb 09, 2000 at 12:54:15PM -0800, Drew Parsons wrote:
> 
> > Making a custom build would be a moderately reasonable solution, but how can
> > it actually be done for an ordinary package?  No joke, looking at the source
> > tree in bzip2-0.9.5d/, created by apt-get source, I can't even find where
> > 0.9.5d-2 is defined, except for a line in ./debian/changelog.
> 
> That's exactly where the version number is defined.
> 


You're utterly right!  I tried adding my own "fake" entry to
./debian/changelog, just adding a custom tag at the end of the version
number, and 'debian/rules binary' processed it perfectly!  So now bzip2 is
0.9.5d-2-PII.1 (my label for "pentium II optimised") instead of 0.9.5d-2.
What a curious way of home-compiling a package!

I still say dpkg (or apt-get or whoever) is misbehaving.  You shouldn't have
to go through these tricks of version relabeling merely to recompile a
package!


Drew

Attachment: pgpMpv4BWRaPJ.pgp
Description: PGP signature


Reply to: