summaryrefslogtreecommitdiff
path: root/x11-wm/icewm
diff options
context:
space:
mode:
Diffstat (limited to 'x11-wm/icewm')
-rw-r--r--x11-wm/icewm/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/x11-wm/icewm/Makefile b/x11-wm/icewm/Makefile
index f567caa4a8d8..67293f5f0a2e 100644
--- a/x11-wm/icewm/Makefile
+++ b/x11-wm/icewm/Makefile
@@ -57,13 +57,13 @@ CONFIGURE_ARGS+= --with-icesound=esound
CONFIGURE_ARGS+= --with-icesound=oss
.endif
-.if ${XFREE86_VERSION} < 4 || defined(WITHOUT_XFT)
+.if ${X_WINDOW_SYSTEM:L} == xfree86-3 || defined(WITHOUT_XFT)
CONFIGURE_ARGS+= --enable-corefonts --disable-xfreetype
.else
LIB_DEPENDS+= Xft.2:${PORTSDIR}/x11-fonts/libXft
.endif
-.if ${XFREE86_VERSION} < 4 || defined(WITHOUT_XINERAMA)
+.if ${X_WINDOW_SYSTEM:L} == xfree86-3 || defined(WITHOUT_XINERAMA)
CONFIGURE_ARGS+= --disable-xinerama
.endif