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

Bug#920878: provide QMAKE in buildtools.mk [Was: Re: Bug#920878: provide a package name for lrelease-pro]



Control: retitle -1 provide QMAKE from dpkg's buildtools.mk
Control: reassign -1 dpkg-dev

Hi Guillem,

On Sun, Mar 01, 2020 at 12:33:36AM +0300, Dmitry Shachnev wrote:
> On Sat, Feb 29, 2020 at 10:17:23PM +0100, Helmut Grohne wrote:
> > I'm left wondering whether we should ask Guillem to include QMAKE in
> > /usr/share/dpkg/buildtools.mk. Once doing so, exporting QMAKE can be as
> > simple as:
> >
> > DPKG_EXPORT_BUILDTOOLS=1
> > include /usr/share/dpkg/buildtools.mk
> >
> > or
> >
> > include /usr/share/dpkg/buildtools.mk
> > export QMAKE
> >
> > If you agree, I propose repurposing this bug report for asking Guillem
> > to extend buildtools.mk.
> 
> I don't mind at all.

It turned out that having something set up the QMAKE variable to point
at ${DEB_HOST_GNU_TYPE}-qmake is something we need in a few places. Can
you carry that in buildtools.mk? I think it's as simple as

$(eval $(call dpkg_buildtool_setvar,QMAKE,qmake))

Helmut


Reply to: