summaryrefslogtreecommitdiffstats
path: root/x11/libSM/Makefile
diff options
context:
space:
mode:
authorlesi <lesi@FreeBSD.org>2005-03-18 20:30:04 +0000
committerlesi <lesi@FreeBSD.org>2005-03-18 20:30:04 +0000
commitb07a8bfe55a26b12be81e2a893c6b2bdb0d531c5 (patch)
tree0b0bf54f2fc7a0e5f109cb0f36ce4340d2039a7e /x11/libSM/Makefile
parent48b6b123bdba3d642ff40ea80b9ef69f710039fd (diff)
downloadFreeBSD-ports-b07a8bfe55a26b12be81e2a893c6b2bdb0d531c5.zip
FreeBSD-ports-b07a8bfe55a26b12be81e2a893c6b2bdb0d531c5.tar.gz
Generate proper package listing when using new mtree from xorg-server port.
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