summaryrefslogtreecommitdiff
path: root/x11/qt3-tools
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
commit5f9908eb427cbeff2dc1970f8892bfa291d9f2b5 (patch)
treef9578d58f0f7a4815209917e7b0036f09b7368b6 /x11/qt3-tools
parent7681ed843d9861bc36f4e5abe43216cf4e38cdda (diff)
downloadpkgsrc-5f9908eb427cbeff2dc1970f8892bfa291d9f2b5.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/qt3-tools')
-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/+$//}