diff options
author | Dejan Lesjak <lesi@FreeBSD.org> | 2005-03-18 20:30:04 +0000 |
---|---|---|
committer | Dejan Lesjak <lesi@FreeBSD.org> | 2005-03-18 20:30:04 +0000 |
commit | a28953dc2d173c9d923c1ca57d3cd76fe74ed188 (patch) | |
tree | 595ad1e836116a7629ba5f3b1c1f7a9971963f25 /x11/renderext | |
parent | Mark grip port as fixed for recent vulnerability. (diff) |
Generate proper package listing when using new mtree from xorg-server port.
Diffstat (limited to 'x11/renderext')
-rw-r--r-- | x11/renderext/Makefile | 10 | ||||
-rw-r--r-- | x11/renderext/pkg-plist | 1 |
2 files changed, 10 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> diff --git a/x11/renderext/pkg-plist b/x11/renderext/pkg-plist index 812c1f146733..3aa1fa5a134e 100644 --- a/x11/renderext/pkg-plist +++ b/x11/renderext/pkg-plist @@ -4,3 +4,4 @@ libdata/pkgconfig/render.pc %%DOCSDIR%%/library %%DOCSDIR%%/protocol @dirrm %%DOCSDIR%% +%%NEWMTREE%%@unexec rmdir %D/include/X11/extensions 2>/dev/null || true |