summaryrefslogtreecommitdiff
path: root/x11-toolkits
diff options
context:
space:
mode:
authorMichael Nottebrock <lofi@FreeBSD.org>2004-03-27 05:50:44 +0000
committerMichael Nottebrock <lofi@FreeBSD.org>2004-03-27 05:50:44 +0000
commit35ac2f720d028cdd2079e352651c84ec570274dd (patch)
tree3e7b40b08dca9243c49d7929cc8a630dfd7ba2c0 /x11-toolkits
parento Remove BROKEN: update is fetchable (diff)
Add a WITHOUT_NAS knob.
Requested by: kris
Notes
Notes: svn path=/head/; revision=105405
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/qt33/Makefile14
1 files changed, 12 insertions, 2 deletions
diff --git a/x11-toolkits/qt33/Makefile b/x11-toolkits/qt33/Makefile
index 547d149d52fa..990e779b8508 100644
--- a/x11-toolkits/qt33/Makefile
+++ b/x11-toolkits/qt33/Makefile
@@ -23,7 +23,6 @@ COMMENT= Multiplatform C++ application framework
BUILD_DEPENDS= qmake:${PORTSDIR}/devel/qmake
LIB_DEPENDS+= mng.1:${PORTSDIR}/graphics/libmng \
- audio:${PORTSDIR}/audio/nas \
png.5:${PORTSDIR}/graphics/png \
jpeg.9:${PORTSDIR}/graphics/jpeg
@@ -40,7 +39,7 @@ NO_FILTER_SHLIBS=yes
CONFIGURE_ARGS+= -system-libpng -system-libjpeg -system-libmng \
-qt-imgfmt-png -qt-imgfmt-jpeg -qt-imgfmt-mng \
- -system-zlib -sm -qt-gif -thread -system-nas-sound \
+ -system-zlib -sm -qt-gif -thread \
-fast -xinerama -no-g++-exceptions -stl -no-nis \
${CUPS} -shared -prefix ${PREFIX} -datadir ${DATADIR} \
-verbose -docdir ${DOCSDIR} -tablet -ipv6 \
@@ -99,6 +98,10 @@ CUPS= -cups -L${LOCALBASE}/lib -I${LOCALBASE}/include
CUPS=
.endif
+.if !defined(WITHOUT_NAS)
+LIB_DEPENDS+= audio:${PORTSDIR}/audio/nas
+CONFIGURE_ARGS+=-system-nas-sound
+
.if ${MACHINE_ARCH} == "alpha"
CFLAGS+= -O0
.endif
@@ -111,6 +114,13 @@ pre-everything::
@${ECHO_MSG} '===> press Ctrl-C and set WITHOUT_XFT'
@${ECHO_MSG} '===> **************************************************'
.endif
+pre-everything::
+ @${ECHO_MSG}
+ @${ECHO_MSG} '===> **************************************************'
+ @${ECHO_MSG} '===> If you do not want to build QT with NAS support '
+ @${ECHO_MSG} '===> press Ctrl-C and set WITHOUT_NAS'
+ @${ECHO_MSG} '===> **************************************************'
+.endif
.if ${XFREE86_VERSION} < 4
BROKEN= "The QT ${PORTVERSION} port does not support any XFree86 < 4.x"