Without this change calling `Xorg -displayfd ..` would always make X to use :0 as the DISPLAY. This was a showstopper for running parallel desktop sessions. The leftover UDS' are cleaned up during system's boot by the /etc/rc.d/cleartmp service. Based on work of jbeich and Olivier Certner <olivier.freebsd@free.fr>. PR: 253277 Approved by: manu Sponsored by: Serenity Cybersecurity, LLC Differential Revision: https://reviews.freebsd.org/D30557
32 lines
760 B
Makefile
32 lines
760 B
Makefile
PORTNAME= xfs
|
|
PORTVERSION= 1.2.0
|
|
PORTREVISION= 1
|
|
PORTEPOCH= 1
|
|
CATEGORIES= x11-fonts
|
|
|
|
MAINTAINER= x11@FreeBSD.org
|
|
COMMENT= X.Org font server
|
|
WWW= https://www.x.org/
|
|
|
|
USES= cpe gmake xorg xorg-cat:app
|
|
CPE_VENDOR= x.org
|
|
CPE_PRODUCT= x_font_server
|
|
USE_XORG= libfs xfont2 xorgproto xtrans
|
|
USE_RC_SUBR= xfs
|
|
CONFIGURE_ARGS= --without-xmlto --without-fop
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} '/^config_DATA/d' ${WRKSRC}/config/Makefile.in
|
|
.if defined(WITHOUT_XFS_CACHE)
|
|
${REINPLACE_CMD} -e 's|^cache|XCOMM &|' ${WRKSRC}/config.cpp
|
|
.endif
|
|
|
|
post-build:
|
|
@cd ${WRKSRC}/config/ && ${MAKE_CMD} config
|
|
|
|
post-install:
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/X11/fs
|
|
${INSTALL_SCRIPT} ${WRKSRC}/config/config \
|
|
${STAGEDIR}${PREFIX}/etc/X11/fs/config.sample
|
|
|
|
.include <bsd.port.mk>
|