Skip to Content.
Sympa Menu

sm-commit - Re: [SM-Commit] GIT changes to master grimoire by Treeve Jelbert (8ea9d25d68003e769cbe26e1ae34daf38be3fef8)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Arwed von Merkatz <v.merkatz AT gmx.net>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: Re: [SM-Commit] GIT changes to master grimoire by Treeve Jelbert (8ea9d25d68003e769cbe26e1ae34daf38be3fef8)
  • Date: Fri, 2 Mar 2007 19:56:44 +0100

On Fri, Mar 02, 2007 at 10:29:51AM -0800, Eric Sandall wrote:
> Quoting Treeve Jelbert <treeve AT scarlet.be>:
> > On Friday 02 March 2007 16:50:02 Eric Sandall wrote:
> <snip>
> >> You'll want to increment PATCHLEVEL so the missing file is installed
> >> for everyone.
> >>
> >
> > libgdb.a is only needed by fpc, which hardly anyone uses, so I did not
> > think
> > it was worth forcing everybody else to rebuild gdb, which is a slow
> > process
>
> I don't know what our official policy is, but I'd rather have
> everything working on a box rather than have a user run into a problem.

So far the policy has been to update PATCHLEVEL, even for big spells.
But in this case, where it's really only a single spell needing it,
the force_depends function could be a good way out.
In fpc DEPENDS, a check like
depends gdb &&
if [ ! -e /usr/lib/libgdb.a ]; then
force_depends gdb
fi
would make sure any fpc user will get a successfull cast, while other
users of gdb don't require the rebuild.

--
Arwed v. Merkatz Source Mage GNU/Linux developer
http://www.sourcemage.org




Archive powered by MHonArc 2.6.24.

Top of Page