summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-05-25 15:43:14 +0000
committerpav <pav@FreeBSD.org>2004-05-25 15:43:14 +0000
commitdecb64dcb24819d92d051da569534c736efcb671 (patch)
tree1e46ddb4854b9b913180f73090e16c8c42534bda
parent40ffce51ca9cce3b7b20cbbc5fbc9d51298e1a7c (diff)
downloadFreeBSD-ports-decb64dcb24819d92d051da569534c736efcb671.zip
FreeBSD-ports-decb64dcb24819d92d051da569534c736efcb671.tar.gz
- Add WITH_QT knob to enable Qt GUI
PR: ports/67174 Submitted by: Roman Bogorodskiy <bogorodskiy@inbox.ru> (maintainer)
-rw-r--r--emulators/pearpc/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/emulators/pearpc/Makefile b/emulators/pearpc/Makefile
index 053ae8b..26aae71 100644
--- a/emulators/pearpc/Makefile
+++ b/emulators/pearpc/Makefile
@@ -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)
OpenPOWER on IntegriCloud