Define QMAKESPEC in the configure and build environments. Fixes problems
where qmake can't figure out which spec to use.
This commit is contained in:
parent
7681ed843d
commit
5f9908eb42
1 changed files with 8 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: buildlink3.mk,v 1.3 2005/03/07 12:59:54 adam Exp $
|
||||
# $NetBSD: buildlink3.mk,v 1.4 2005/09/13 04:28:18 dmcmahill Exp $
|
||||
|
||||
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
|
||||
QT3_TOOLS_BUILDLINK3_MK:= ${QT3_TOOLS_BUILDLINK3_MK}+
|
||||
|
@ -23,4 +23,11 @@ MAKE_ENV+= UIC="${QTDIR}/bin/uic"
|
|||
CONFIGURE_ENV+= QMAKE="${QTDIR}/bin/qmake"
|
||||
MAKE_ENV+= QMAKE="${QTDIR}/bin/qmake"
|
||||
|
||||
# the way the spec files are currently instealled via pkgsrc, they
|
||||
# are all identical anyway, so just pick one and point to it.
|
||||
# Without specifying QMAKESPEC, qmake can't figure it out on some
|
||||
# platforms (solaris for example)
|
||||
CONFIGURE_ENV+= QMAKESPEC=${QTDIR}/mkspecs/netbsd-g++
|
||||
MAKE_ENV+= QMAKESPEC=${QTDIR}/mkspecs/netbsd-g++
|
||||
|
||||
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
|
||||
|
|
Loading…
Reference in a new issue