summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authordmcmahill <dmcmahill@pkgsrc.org>2005-09-13 04:28:18 +0000
committerdmcmahill <dmcmahill@pkgsrc.org>2005-09-13 04:28:18 +0000
commit68ec029234c2ac288bcefff59f90becef2a1976a (patch)
treef9578d58f0f7a4815209917e7b0036f09b7368b6 /x11
parent4a4650b47050b1a8b3d9c9ddfe8d0d1d22b6bb88 (diff)
downloadpkgsrc-68ec029234c2ac288bcefff59f90becef2a1976a.tar.gz
Define QMAKESPEC in the configure and build environments. Fixes problems
where qmake can't figure out which spec to use.
Diffstat (limited to 'x11')
-rw-r--r--x11/qt3-tools/buildlink3.mk9
1 files changed, 8 insertions, 1 deletions
diff --git a/x11/qt3-tools/buildlink3.mk b/x11/qt3-tools/buildlink3.mk
index 70534a77ed1..b2316371bfc 100644
--- a/x11/qt3-tools/buildlink3.mk
+++ b/x11/qt3-tools/buildlink3.mk
@@ -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/+$//}