aboutsummaryrefslogtreecommitdiff
path: root/x11/xfree86_xkb_xml/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11/xfree86_xkb_xml/Makefile')
-rw-r--r--x11/xfree86_xkb_xml/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/x11/xfree86_xkb_xml/Makefile b/x11/xfree86_xkb_xml/Makefile
index 0f2bc1825c90..9d4204eee5e9 100644
--- a/x11/xfree86_xkb_xml/Makefile
+++ b/x11/xfree86_xkb_xml/Makefile
@@ -27,4 +27,12 @@ CONFIGURE_ARGS= --with-xkb-base=${X11BASE}/lib/X11/xkb
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${X_WINDOW_SYSTEM:L} == xorg
+PLIST_SUB+= NEWMTREE=""
+.else
+PLIST_SUB+= NEWMTREE="@comment "
+.endif
+
+.include <bsd.port.post.mk>