summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)