diff options
author | lesi <lesi@FreeBSD.org> | 2005-03-19 04:30:04 +0800 |
---|---|---|
committer | lesi <lesi@FreeBSD.org> | 2005-03-19 04:30:04 +0800 |
commit | b07a8bfe55a26b12be81e2a893c6b2bdb0d531c5 (patch) | |
tree | 0b0bf54f2fc7a0e5f109cb0f36ce4340d2039a7e /x11-toolkits | |
parent | 48b6b123bdba3d642ff40ea80b9ef69f710039fd (diff) | |
download | freebsd-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')
-rw-r--r-- | x11-toolkits/libXaw/Makefile | 10 | ||||
-rw-r--r-- | x11-toolkits/libXaw/pkg-plist | 1 | ||||
-rw-r--r-- | x11-toolkits/libXmu/Makefile | 10 | ||||
-rw-r--r-- | x11-toolkits/libXmu/pkg-plist | 1 |
4 files changed, 20 insertions, 2 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 diff --git a/x11-toolkits/libXmu/Makefile b/x11-toolkits/libXmu/Makefile index 5d4770bb755a..27cb4e497874 100644 --- a/x11-toolkits/libXmu/Makefile +++ b/x11-toolkits/libXmu/Makefile @@ -30,4 +30,12 @@ CFLAGS+= -DMALLOC_0_RETURNS_NULL 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> diff --git a/x11-toolkits/libXmu/pkg-plist b/x11-toolkits/libXmu/pkg-plist index 0881007e3c0b..952f9b3e7968 100644 --- a/x11-toolkits/libXmu/pkg-plist +++ b/x11-toolkits/libXmu/pkg-plist @@ -30,3 +30,4 @@ lib/libXmuu.so lib/libXmuu.so.1 libdata/pkgconfig/xmu.pc libdata/pkgconfig/xmuu.pc +%%NEWMTREE%%@dirrm include/X11/Xmu |