pkgsrc-Users archive

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

Re: scons error for a new wip package



On Mon, Sep 23, 2024 at 09:46:30PM +0530, Mayuresh wrote:
> On Mon, Sep 23, 2024 at 05:51:19PM +0200, Thomas Klausner wrote:
> > On Mon, Sep 23, 2024 at 08:48:45PM +0530, Mayuresh wrote:
> > > On Mon, Sep 23, 2024 at 04:55:54PM +0200, Jörg Sonnenberger wrote:
> > > > See e.g. pkgsrc/multimedia/ffmpeg2theora/patches/patch-SConstruct, line 22.
> > > 
> > > Thanks for the pointer. Similar patch takes care of CWRAPPERS_CONFIG_DIR error.
> > > 
> > > However the second problem is, pkgsrc passes PREFIX= as an argument to
> > > scons when it accepts prefix=. How do we fix that?
> > 
> > AFAICT scons has not standardized on one or the other.
> > Take a look at devel/scons/build.mk on how to pass options.
> >  Thomas
> 
> This in scons4/build.mk gets me going. But if it is not standardized I
> don't know what the solution should be.
> 
> -_SCONS_BUILD_ARGS+=    PREFIX=${PREFIX}
> +_SCONS_BUILD_ARGS+=    prefix=${PREFIX}

Setting
SCONS_BUILD_ARGS+=	prefix=${PREFIX}
should be enough? (possibly SCONS_INSTALL_ARGS instead)
 Thomas


Home | Main Index | Thread Index | Old Index