1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

- Add WITH_QT knob to enable Qt GUI

PR:		ports/67174
Submitted by:	Roman Bogorodskiy <bogorodskiy@inbox.ru> (maintainer)
This commit is contained in:
Pav Lucistnik 2004-05-25 15:43:14 +00:00
parent 889edbf062
commit b66cb02f65
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=109988

View File

@ -21,14 +21,21 @@ CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include" \
LDFLAGS="-L${X11BASE}/lib"
PKGMESSAGE= ${WRKDIR}/pkg-message
.include <bsd.port.pre.mk>
.if defined(WITH_OPTIMIZED_CFLAGS)
CFLAGS+= -O3 -ffast-math
.else
CONFIGURE_ARGS+= --disable-fpo
.endif
.if defined(WITH_QT)
CONFIGURE_ARGS+= --enable-gui=qt
USE_QT_VER= 3
.else
CONFIGURE_ARGS+= --enable-gui=nogui
.endif
.include <bsd.port.pre.mk>
# jitc_x86 is avaible only on x86
.if ${ARCH} == "i386"
.if !defined(WITH_JITC)