aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/qt33
diff options
context:
space:
mode:
authorlofi <lofi@FreeBSD.org>2004-03-27 13:50:44 +0800
committerlofi <lofi@FreeBSD.org>2004-03-27 13:50:44 +0800
commit3a35714502040fb6fe298d3a0f491d4c98795244 (patch)
treeec797acb47f236a32cac0d297e6bfdc74fe13297 /x11-toolkits/qt33
parentac8784f3e9ee77663647d24f9614c51787137c6a (diff)
downloadfreebsd-ports-gnome-3a35714502040fb6fe298d3a0f491d4c98795244.tar.gz
freebsd-ports-gnome-3a35714502040fb6fe298d3a0f491d4c98795244.tar.zst
freebsd-ports-gnome-3a35714502040fb6fe298d3a0f491d4c98795244.zip
Add a WITHOUT_NAS knob.
Requested by: kris
Diffstat (limited to 'x11-toolkits/qt33')
-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"