pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/qt3-tools Define QMAKESPEC in the configure and bu...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/82c149194ef4
branches:  trunk
changeset: 499181:82c149194ef4
user:      dmcmahill <dmcmahill%pkgsrc.org@localhost>
date:      Tue Sep 13 04:28:18 2005 +0000

description:
Define QMAKESPEC in the configure and build environments.  Fixes problems
where qmake can't figure out which spec to use.

diffstat:

 x11/qt3-tools/buildlink3.mk |  9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 3f3c4cd732df -r 82c149194ef4 x11/qt3-tools/buildlink3.mk
--- a/x11/qt3-tools/buildlink3.mk       Tue Sep 13 04:27:21 2005 +0000
+++ b/x11/qt3-tools/buildlink3.mk       Tue Sep 13 04:28:18 2005 +0000
@@ -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 @@
 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/+$//}



Home | Main Index | Thread Index | Old Index