summaryrefslogtreecommitdiff
path: root/x11-toolkits/qt23
diff options
context:
space:
mode:
authorNik Clayton <nik@FreeBSD.org>2001-06-22 08:46:34 +0000
committerNik Clayton <nik@FreeBSD.org>2001-06-22 08:46:34 +0000
commit95c0850f6ccd9a794a74748c3547e6b910ca33f5 (patch)
treec12f401c8559d8075345c40f31ea587c1a4d93a6 /x11-toolkits/qt23
parentReplicate the fixes in the other two patches when building qt23 with (diff)
Support building QT with debugging turned, keyed off the QT_DEBUG variable.
Approved by: MAINTAINER
Notes
Notes: svn path=/head/; revision=44309
Diffstat (limited to 'x11-toolkits/qt23')
-rw-r--r--x11-toolkits/qt23/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/x11-toolkits/qt23/Makefile b/x11-toolkits/qt23/Makefile
index 574991ffd7fc..8f2145bec63e 100644
--- a/x11-toolkits/qt23/Makefile
+++ b/x11-toolkits/qt23/Makefile
@@ -26,6 +26,11 @@ HAS_CONFIGURE= yes
CONFIGURE_ARGS= -system-zlib -system-libpng -system-jpeg -sm -gif \
-system-libmng -thread -no-opengl \
-I${LOCALBASE}/include -L${LOCALBASE}/lib
+
+.if defined(QT_DEBUG)
+CONFIGURE_ARGS+= -debug
+.endif
+
CONFIGURE_ENV= ${ECHO} yes | QTDIR=${WRKSRC}
.if defined(MAKE_JOBS)
MAKE_ARGS+= MAKE="${GMAKE} -j${MAKE_JOBS}"