summaryrefslogtreecommitdiffstats
path: root/x11/libSM/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11/libSM/Makefile')
-rw-r--r--x11/libSM/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/x11/libSM/Makefile b/x11/libSM/Makefile
index f092977..50fbc75 100644
--- a/x11/libSM/Makefile
+++ b/x11/libSM/Makefile
@@ -29,4 +29,12 @@ USE_LIBTOOL_VER=13
INSTALLS_SHLIB= 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>
OpenPOWER on IntegriCloud