aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/libXaw
diff options
context:
space:
mode:
authorlesi <lesi@FreeBSD.org>2005-03-19 04:30:04 +0800
committerlesi <lesi@FreeBSD.org>2005-03-19 04:30:04 +0800
commitb07a8bfe55a26b12be81e2a893c6b2bdb0d531c5 (patch)
tree0b0bf54f2fc7a0e5f109cb0f36ce4340d2039a7e /x11-toolkits/libXaw
parent48b6b123bdba3d642ff40ea80b9ef69f710039fd (diff)
downloadfreebsd-ports-gnome-b07a8bfe55a26b12be81e2a893c6b2bdb0d531c5.tar.gz
freebsd-ports-gnome-b07a8bfe55a26b12be81e2a893c6b2bdb0d531c5.tar.zst
freebsd-ports-gnome-b07a8bfe55a26b12be81e2a893c6b2bdb0d531c5.zip
Generate proper package listing when using new mtree from xorg-server port.
Diffstat (limited to 'x11-toolkits/libXaw')
-rw-r--r--x11-toolkits/libXaw/Makefile10
-rw-r--r--x11-toolkits/libXaw/pkg-plist1
2 files changed, 10 insertions, 1 deletions
diff --git a/x11-toolkits/libXaw/Makefile b/x11-toolkits/libXaw/Makefile
index 8ff895d46df4..048ef7f001d5 100644
--- a/x11-toolkits/libXaw/Makefile
+++ b/x11-toolkits/libXaw/Makefile
@@ -36,4 +36,12 @@ USE_GNOME= gnomehack pkgconfig
MAN3= Xaw.3
-.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>
diff --git a/x11-toolkits/libXaw/pkg-plist b/x11-toolkits/libXaw/pkg-plist
index 993b8976f888..bfd6f52dcd47 100644
--- a/x11-toolkits/libXaw/pkg-plist
+++ b/x11-toolkits/libXaw/pkg-plist
@@ -73,3 +73,4 @@ lib/libXaw.la
lib/libXaw.so
lib/libXaw.so.7
libdata/pkgconfig/xaw.pc
+%%NEWMTREE%%@dirrm include/X11/Xaw