1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-24 09:25:01 +00:00

Add a WITHOUT_NAS knob.

Requested by: kris
This commit is contained in:
Michael Nottebrock 2004-03-27 05:50:44 +00:00
parent a3565cb7c1
commit 35ac2f720d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=105405

View File

@ -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"