aboutsummaryrefslogtreecommitdiffstats
path: root/emulators
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-05-25 23:43:14 +0800
committerpav <pav@FreeBSD.org>2004-05-25 23:43:14 +0800
commitdecb64dcb24819d92d051da569534c736efcb671 (patch)
tree1e46ddb4854b9b913180f73090e16c8c42534bda /emulators
parent40ffce51ca9cce3b7b20cbbc5fbc9d51298e1a7c (diff)
downloadfreebsd-ports-gnome-decb64dcb24819d92d051da569534c736efcb671.tar.gz
freebsd-ports-gnome-decb64dcb24819d92d051da569534c736efcb671.tar.zst
freebsd-ports-gnome-decb64dcb24819d92d051da569534c736efcb671.zip
- Add WITH_QT knob to enable Qt GUI
PR: ports/67174 Submitted by: Roman Bogorodskiy <bogorodskiy@inbox.ru> (maintainer)
Diffstat (limited to 'emulators')
-rw-r--r--emulators/pearpc/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/emulators/pearpc/Makefile b/emulators/pearpc/Makefile
index 053ae8b1c3c2..26aae716d7dc 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)