Subject: pkg/29571: qt3-tools buildlink3.mk fails to provide QMAKE definition
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <bad@bsd.de>
List: pkgsrc-bugs
Date: 03/01/2005 22:50:00
>Number:         29571
>Category:       pkg
>Synopsis:       define $QMAKE in CONFIGURE_ENV and MAKE_ENV
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Mar 01 22:50:00 +0000 2005
>Originator:     Christoph Badura
>Release:        pkgsrc-current as of 2005-02-28
>Organization:
>Environment:
>Description:
qt3-tools installs binaries in a directory that is not in the default PATH.
Thus qt3 using software needs to be told where to find these binaries.
qt3-tools' buildlink3.mk provides a definition for UIC:

CONFIGURE_ENV+=			UIC="${QTDIR}/bin/uic"
MAKE_ENV+=			UIC="${QTDIR}/bin/uic"

It should provide a definition for QMAKE too, so that other packages don't
have to hack around this.

>How-To-Repeat:
build a package that runs qmake from it's configure script.  e.g. libfwbuilder.
>Fix:
add the following lines to qt3-tools/buildlink3.mk

CONFIGURE_ENV+=			QMAKE="${QTDIR}/bin/qmake"
MAKE_ENV+=			QMAKE="${QTDIR}/bin/qmake"