summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrillig <rillig>2007-02-15 12:50:40 +0000
committerrillig <rillig>2007-02-15 12:50:40 +0000
commit626e9110d816cc877cec61f6346d621a7fdb813a (patch)
tree4aa77078cc4a789c8517833c96d4ad50417e5b5c
parent93f9686bc678777704ded52e6568f51ca6e8e80a (diff)
downloadpkgsrc-626e9110d816cc877cec61f6346d621a7fdb813a.tar.gz
QT applications should be able to access the tools "moc", "qmake" and
"uic" by their simple name.
-rw-r--r--x11/qt3/application.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/x11/qt3/application.mk b/x11/qt3/application.mk
index 3d27e2a3619..af9cee71050 100644
--- a/x11/qt3/application.mk
+++ b/x11/qt3/application.mk
@@ -1,4 +1,4 @@
-# $NetBSD: application.mk,v 1.1 2006/10/13 06:16:54 rillig Exp $
+# $NetBSD: application.mk,v 1.2 2007/02/15 12:50:40 rillig Exp $
#
# This file provides useful definitions for packages that contain
# QT applications.
@@ -39,6 +39,11 @@ LDFLAGS+= -L${QTDIR}/lib
CONFIGURE_ENV+= QTDIR=${QTDIR:Q}
MAKE_ENV+= QTDIR=${QTDIR:Q}
+.for t in moc qmake uic
+TOOLS_CREATE+= ${t}
+TOOLS_PATH.${t}= ${QTDIR}/bin/${t}
+.endfor
+
.include "../../x11/qt3-libs/buildlink3.mk"
.include "../../x11/qt3-tools/buildlink3.mk"