aboutsummaryrefslogtreecommitdiff
path: root/x11/renderext/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11/renderext/Makefile')
-rw-r--r--x11/renderext/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/x11/renderext/Makefile b/x11/renderext/Makefile
index ca4b5a2b099b..4ef86b0c7e80 100644
--- a/x11/renderext/Makefile
+++ b/x11/renderext/Makefile
@@ -23,4 +23,12 @@ CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_GMAKE= yes
USE_GNOME= gnomehack pkgconfig
-.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>