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

Re: [pkg-boost-devel] Boost.Python: providing libs for both Python 2.4 and 2.5.



On Fri, Mar 21, 2008 at 03:59:30PM -0400, Aaron M. Ucko wrote:

> I do, however, see a couple of concrete issues with your script:
> 
> > if [ "$1" = "-d" ]; then
> >     debug=-d
> >     shift
> > fi
> 
> Shouldn't you fix that at build time à la $version?

You noticed a complication I was avoiding.  There are actually two
packages that need an rtupdate script: libboost-python-dev, and
libboost-dbg.  The latter holds all the "debug" versions of the
libraries, including the Boost.Python libraries.  The only difference
in names is that the debug libraries have "-d" in them.  So I was
avoiding two scripts by this parameterization.

[I have subsequently done the parameterization slightly differently;
consult the boost svn repo for details or wait for the upload in a few
hours]


> >     rtupdate)      rtupdate $1 ;;
> 
> More critically, AFAICT you want to pass $2, not $1.

Indeed.  I had sent out the note before fully testing
the script.  How embarrassing.

Thanks,
-Steve

Attachment: signature.asc
Description: Digital signature


Reply to: